Ticket #17107: Portfile.diff
File Portfile.diff, 2.3 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago) |
---|
-
Portfile
old new 19 19 ghostscript-fonts-std-8.11.tar.gz:fonts \ 20 20 ghostscript-fonts-other-6.0.tar.gz:fonts 21 21 patchfiles patch-src_macos-fw.mak.diff \ 22 patch-src_macosx.mak.diff \ 23 patch-src_unix-aux.mak.diff 22 patch-src_macosx.mak.diff 24 23 checksums ${distname}.tar.gz md5 b22e689b237a6594d1ca408f2b55a891 \ 25 24 ghostscript-fonts-std-8.11.tar.gz md5 6865682b095f8c4500c54b285ff05ef6 \ 26 25 ghostscript-fonts-other-6.0.tar.gz md5 1a643ae62ef166562e4d422b1a601272 27 26 28 depends_lib lib:libX11 .6:XFree86\27 depends_lib lib:libX11:xorg \ 29 28 port:cairo \ 30 29 port:expat \ 31 30 port:fontconfig \ 32 31 port:libiconv \ 33 port:pkgconfig 32 port:zlib \ 33 path:bin/perl:perl5 34 35 depends_build port:pkgconfig 36 37 # Can be removed once MacPorts 1.7.0 is released 38 if {![info exists frameworks_dir]} { 39 set frameworks_dir ${prefix}/Library/Frameworks 40 } 34 41 35 42 post-patch { 36 43 foreach f {src/macosx.mak src/macos-fw.mak} { 37 44 reinplace "s|@@DESTROOT@@|${destroot}|" ${worksrcpath}/${f} 38 reinplace "s|@@PREFIX@@|${prefix}|" ${worksrcpath}/${f} 45 reinplace "s|@@FRAMEWORKS_DIR@@|${frameworks_dir}|" ${worksrcpath}/${f} 46 } 47 48 # Ensure that MacPorts perl is used 49 foreach f {lib/fixmswrd.pl toolbin/pscet_status.pl} { 50 reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl|" ${worksrcpath}/${f} 39 51 } 40 52 } 41 53 42 # Ticket #11901, Thanks to Christian Cornelssen (ccorn@cs.tu-berlin.de).43 54 # Make included JasPer uses its own headers rather than the system ones 44 55 configure.cppflags-delete "-I${prefix}/include" 45 configure.cppflags-append "-I${worksrcpath}/jasper/src/libjasper/include" 46 configure.cppflags-append "-I${prefix}/include" 56 configure.cppflags-append "-isystem${prefix}/include" 47 57 48 configure.args --disable-compile-inits \ 49 --mandir='\${prefix}/share/man' \ 58 configure.args --x-includes=${x11prefix}/include \ 59 --x-libraries=${x11prefix}/lib \ 60 --disable-compile-inits \ 50 61 --disable-cups 51 62 52 63 build.target