Ticket #14605: Portfile.diff
File Portfile.diff, 2.1 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 17 years ago) |
---|
-
Portfile
old new 19 19 patchfiles patch-config-mkcommon.inc.in patch-libs__pdcore__pc_util.h \ 20 20 patch-libs_tiff_tiff.h.diff 21 21 22 configure.args --without-java --without-perl --without-py --without-tcl 22 configure.args --without-java --without-perl --without-py --without-tcl --without-ruby 23 24 pre-destroot { 25 if {[variant_isset perl]} { 26 system "install -m 755 -d ${destroot}`${prefix}/bin/perl -e 'use Config; print \$Config{sitearchexp};' 2> /dev/null`" 27 } 28 } 23 29 24 30 post-destroot { 25 31 xinstall -m 755 -d ${destroot}${prefix}/share/doc/ … … 37 43 configure.args-append --with-perl=${prefix}/bin/perl 38 44 } 39 45 40 variant python { 41 depends_lib path:${prefix}/bin/python:python24 46 variant python24 { 47 set pyversion 2.4 48 depends_lib-append port:python[strsed ${pyversion} {g/[.]//}] 42 49 configure.args-delete --without-py 43 configure.args-append --with-py=${prefix} 50 configure.args-append --with-py=${prefix} --with-pyincl=${prefix}/include/python${pyversion} 51 } 52 53 variant python25 { 54 set pyversion 2.5 55 depends_lib-append port:python[strsed ${pyversion} {g/[.]//}] 56 configure.args-delete --without-py 57 configure.args-append --with-py=${prefix} --with-pyincl=${prefix}/include/python${pyversion} 44 58 } 45 59 46 60 variant tcl { 47 depends_lib 61 depends_lib-append path:${prefix}/bin/tclsh:tcl 48 62 configure.args-delete --without-tcl 49 63 configure.args-append --with-tcl=${prefix}/bin/tclsh 50 64 } 51 65 66 variant ruby { 67 depends_lib-append port:ruby 68 pre-configure { 69 set rubyIncl [file dirname [glob ${prefix}/lib/ruby/*/*/ruby.h]] 70 configure.args-delete --without-ruby 71 configure.args-append --with-ruby=${prefix} --with-rubyincl=${rubyIncl} 72 } 73 } 74 52 75 platform darwin 8 { 53 76 configure.cc "/usr/bin/gcc-4.0 -DPDF_TARGET_API_MAC_CLASSIC" 54 77 configure.cpp "/usr/bin/cpp-4.0 -DPDF_TARGET_API_MAC_CLASSIC" 55 78 configure.cxx "/usr/bin/g++-4.0 -DPDF_TARGET_API_MAC_CLASSIC" 56 79 } 57 80 81 livecheck.check regex 82 livecheck.regex "PDFlib Lite \(\[\\d\\.\]+\)"