# $Id: Portfile,v 1.17 2003/11/14 15:27:15 fkr Exp $ PortSystem 1.0 name glib2 version 2.2.3 revision 1 categories devel maintainers mij@opendarwin.org description Library with data structure functions and other constructs homepage http://www.gtk.org/ platforms darwin long_description Glib is a library which includes support routines for \ C, such as lists, trees, hashes, memory allocation, and \ many other things. master_sites ftp://ftp.gnome.org/pub/gnome/sources/glib/2.2/ \ ftp://archive.progeny.com/GNOME/sources/glib/2.2/ \ http://archive.progeny.com/GNOME/sources/glib/2.2/ distname glib-${portversion} checksums md5 aa214a10d873b68ddd67cd9de2ccae55 use_bzip2 yes depends_build bin:pkg-config:pkgconfig lib:libintl.1:gettext patchfiles patch-Makefile.in patch-configure \ patch-glib-libcharset-Makefile.in \ patch-glib-libcharset-charset.alias \ patch-ltmain.sh patch-po-Makefile.in.in \ patch-glib-gmain.c configure.env LDFLAGS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include \ -no-cpp-precomp" CFLAGS="-O3 -funroll-loops -fstrict-aliasing" configure.args --disable-gtk-doc variant puredarwin { depends_run bin:perl:perl5.8 } post-destroot { system "ln -fs libglib-2.0.0.200.3.dylib \ ${destroot}${prefix}/lib/libglib.2.dylib" system "ln -fs libgmodule-2.0.0.200.3.dylib \ ${destroot}${prefix}/lib/libgmodule.2.dylib" system "ln -fs libgobject-2.0.0.200.3.dylib \ ${destroot}${prefix}/lib/libgobject.2.dylib" system "ln -fs libgthread-2.0.0.200.3.dylib \ ${destroot}${prefix}/lib/libgthread.2.dylib" } platform darwin 6 { depends_lib-append lib:libdl.1:dlcompat }