# $Id: Portfile,v 1.23 2004/03/19 23:18:40 mij Exp $ PortSystem 1.0 name glib2 version 2.2.3 revision 3 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 gnome:sources/glib/2.2 distname glib-${portversion} checksums md5 aa214a10d873b68ddd67cd9de2ccae55 use_bzip2 yes depends_build bin:pkg-config:pkgconfig lib:libintl.3:gettext patchfiles patch-Makefile.in patch-configure \ patch-glib-libcharset-Makefile.in \ patch-ltmain.sh patch-po-Makefile.in.in \ patch-glib-gmain.c configure.env LDFLAGS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include" \ CFLAGS="-O3 -funroll-loops -fstrict-aliasing" variant darwin { configure.env-append CPPFLAGS="-I${prefix}/include -no-cpp-precomp" } configure.args --disable-gtk-doc \ --mandir='\${prefix}/share/man' 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:dlcompat }