# $Id: Portfile,v 1.12 2003/03/03 06:53:20 mij Exp $ PortSystem 1.0 name gimp version 1.2.3 categories graphics x11 maintainers eric@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. The key to the GIMP's power lies in its flexible \ core and easily extensible design. The GIMP's open design and \ extensible architecture make for a very powerful end product which can \ continue to be extended to meet the needs of the photo compositor, \ image retoucher, web graphics designer, or digital illustrator for a \ very long time. platforms darwin use_bzip2 yes master_sites ftp://ftp.gtk.org/pub/gimp/v1.2/v${portversion}/ checksums md5 b19235f19f524f772a4aef597a69b1da depends_lib lib:libgtk.1:gtk lib:libintl.1:gettext lib:libjpeg.9:jpeg \ lib:libpng.3:libpng lib:libtiff.3:tiff patchfiles patch-Makefile.in patch-configure 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 post-install { system "rm ${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 } install.destroot prefix=${destroot}${prefix}