# $Id: Portfile,v 1.7 2003/03/03 07:31:49 mij Exp $ PortSystem 1.0 name gtk2 version 2.0.9 categories x11 maintainers mij@opendarwin.org description Gimp ToolKit version 2 homepage http://www.gtk.org/ platforms darwin long_description This is GTK+ version 2.x. GTK+, which stands for Gimp \ ToolKit, is a library for creating GUIs for the X \ Windows System. master_sites ftp://ftp.gnome.org/pub/gnome/sources/gtk+/2.0/ distname gtk+-${portversion} checksums md5 9827bca97fc09ff62b75579614dcfeb2 use_bzip2 yes depends_lib lib:libglib.2:glib2 lib:libtiff.3:tiff lib:libpng.3:libpng \ lib:libungif.4:libungif lib:libatk.1:atk lib:libpango.1:pango \ lib:libintl.1:gettext lib:libtiff.3:tiff lib:libX11.6:XFree86 patchfiles patch-configure patch-demos-gtk-demo-main.c \ patch-ltmain.sh patch-gdk-x11-gdkdrawable-x11.c \ patch-modules-input-Makefile.in configure.env LDFLAGS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include \ -no-cpp-precomp" CFLAGS="-O3 -funroll-loops -fstrict-aliasing" configure.args --disable-shm build.args CFLAGS+="-I/usr/X11R6/include" post-install { system "ln -fs libgtk-x11-2.0.0.0.9.dylib \ ${destroot}${prefix}/lib/libgtk.2.dylib" system "ln -fs libgdk-x11-2.0.0.0.9.dylib \ ${destroot}${prefix}/lib/libgdk.2.dylib" }