Skip to content

Commit

Permalink
destroot and tiff dependancy added
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@2023 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Michael Maibaum committed Feb 12, 2003
1 parent 46052a6 commit cf18f8c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions graphics/gimp/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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.