Skip to content
Permalink
Browse files

destroot and tiff dependancy added

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@2023 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Michael Maibaum
Michael Maibaum committed Feb 12, 2003
1 parent 46052a6 commit cf18f8cc6ab644711be37a645bc25b05383aab51
Showing with 4 additions and 5 deletions.
  1. +4 −5 graphics/gimp/Portfile
@@ -18,7 +18,7 @@ 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: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 \
@@ -27,12 +27,11 @@ patchfiles patch-Makefile.in patch-configure patch-plug_in_cmds.c \

configure.env PATH=$\{PATH\}:${prefix}/bin CPPFLAGS=-I${prefix}/include

post-install { system "rm ${prefix}/bin/gimp"
set script [open "${prefix}/bin/gimp" w 0755]
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 }

include contents
install.destroot prefix=${destroot}${prefix}

0 comments on commit cf18f8c

Please sign in to comment.
You can’t perform that action at this time.