# $Id: Portfile,v 1.27 2005/01/24 20:41:38 mww Exp $ PortSystem 1.0 name gimp version 1.2.5 revision 2 categories graphics x11 maintainers darwinports@opendarwin.org description GNU Image Manipulation Program long_description The GNU Image Manipulation Program (GIMP) is a powerful \ tool for the preparation and manipulation of digital images.\ The GIMP provides the user with a wide variety of image \ manipulation, painting, processing, and rendering tools. platforms darwin use_bzip2 yes master_sites ftp://ftp.gtk.org/pub/gimp/v1.2/v${portversion}/ checksums md5 b83b55d80e6728268d56620ea4d3051a depends_lib lib:libgtk.1:gtk1 lib:libintl.3:gettext lib:libjpeg.62:jpeg \ lib:libpng.3:libpng lib:libtiff.3:tiff patchfiles patch-Makefile.in patch-plug_in_cmds.c \ patch-procedural_db_cmds.c patch-regex.c patch-regex.h \ patch-scriptfu-interp_regex.c patch-scriptfu-regex.c \ patch-scriptfu-regex.h patch-xjt-Makefile.in configure.env PATH=$\{PATH\}:${prefix}/bin CPPFLAGS=-I${prefix}/include configure.args --disable-print --disable-perl --mandir=${prefix}/share/man post-destroot { file delete ${destroot}${prefix}/lib/charset.alias \ ${destroot}${prefix}/bin/gimp set script [open "${destroot}${prefix}/bin/gimp" w 0755] puts $script "#!/bin/sh" puts $script \ "export DYLD_INSERT_LIBRARIES=${prefix}/lib/libintl.dylib" puts $script "${prefix}/bin/gimp-1.2 --no-shm --no-xshm" close $script } destroot.destdir prefix=${destroot}${prefix}