# $Id: Portfile,v 1.9 2003/03/03 06:18:04 mij Exp $ PortSystem 1.0 name glib2 version 2.0.7 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.0/ distname glib-${portversion} checksums md5 5882b1e729f57cb18af653a2f504197b use_bzip2 yes depends_lib lib:libdl.1:dlcompat lib:libintl.1:gettext depends_build bin:pkg-config:pkgconfig patchfiles patch-Makefile.in patch-configure patch-ltmain.sh \ patch-glib-libcharset-Makefile.in \ patch-glib-libcharset-charset.alias configure.env LDFLAGS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include \ -no-cpp-precomp" CFLAGS="-O3 -funroll-loops -fstrict-aliasing" configure.args --disable-static --with-libiconv=gnu post-install { system "ln -fs libglib-2.0.0.0.7.dylib \ ${destroot}${prefix}/lib/libglib.2.dylib" system "ln -fs libgmodule-2.0.0.0.7.dylib \ ${destroot}${prefix}/lib/libgmodule.2.dylib" system "ln -fs libgthread-2.0.0.0.7.dylib \ ${destroot}${prefix}/lib/libgthread.2.dylib" }