# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name gnet version 1.1.9 categories devel license {LGPL GPL-2+} platforms darwin maintainers nomaintainer description Simple network library long_description GNet is a simple network library written in C. It is \ object-oriented, and built upon GLib. homepage https://wiki.gnome.org/Projects/GNetLibrary master_sites freebsd checksums sha1 ba11b517af06e84f710527d29a047f8a2603d4b3 \ rmd160 485cf7b3f03dbe274e0c39b5d6257c99e94e8dfb patchfiles patch-gnet.m4 depends_build port:pkgconfig use_autoreconf yes if {![variant_isset glib1]} { default_variants +glib2 } variant glib1 conflicts glib2 description {Use glib1} { depends_lib-append port:glib1 } variant glib2 conflicts glib1 description {Use glib2} { depends_lib-append path:lib/pkgconfig/glib-2.0.pc:glib2 # still needs macros from glib1 because of autoreconf depends_build-append port:glib1 configure.args-append --enable-glib2 }