[35924] trunk/dports/print/pdflib/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Wed Apr 9 22:40:05 PDT 2008
Revision: 35924
http://trac.macosforge.org/projects/macports/changeset/35924
Author: mcalhoun at macports.org
Date: 2008-04-09 22:40:04 -0700 (Wed, 09 Apr 2008)
Log Message:
-----------
pdflib: Fixed a bug in which the configure script was finding the wrong python.
Modified Paths:
--------------
trunk/dports/print/pdflib/Portfile
Modified: trunk/dports/print/pdflib/Portfile
===================================================================
--- trunk/dports/print/pdflib/Portfile 2008-04-10 05:12:59 UTC (rev 35923)
+++ trunk/dports/print/pdflib/Portfile 2008-04-10 05:40:04 UTC (rev 35924)
@@ -4,6 +4,7 @@
name pdflib
version 7.0.3
+revision 2
categories print
platforms darwin
maintainers nomaintainer
@@ -23,6 +24,11 @@
configure.args --without-java --without-perl --without-py --without-tcl --without-ruby
+post-patch {
+ reinplace "s/PYTHONLIBDIR=`cat << EOF | python/PYTHONLIBDIR=`cat << EOF | \$PYTHONBIN/g" \
+ ${worksrcpath}/configure
+}
+
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/
file copy ${worksrcpath}/doc/pdflib ${destroot}${prefix}/share/doc/${name}
@@ -44,6 +50,7 @@
depends_lib-append port:python[strsed ${pyversion} {g/[.]//}]
configure.args-delete --without-py
configure.args-append --with-py=${prefix} --with-pyincl=${prefix}/include/python${pyversion}
+ configure.env-append PYTHONBIN=${prefix}/bin/python${pyversion}
}
variant python25 description {Enable Python language binding using vervion 2.5} conflicts python24 {
@@ -51,6 +58,7 @@
depends_lib-append port:python[strsed ${pyversion} {g/[.]//}]
configure.args-delete --without-py
configure.args-append --with-py=${prefix} --with-pyincl=${prefix}/include/python${pyversion}
+ configure.env-append PYTHONBIN=${prefix}/bin/python${pyversion}
}
variant tcl description {Enable Tcl language binding} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080409/ac9c3938/attachment.html
More information about the macports-changes
mailing list