[96799] trunk/dports/python/py-zeroc-ice34/Portfile
blair at macports.org
blair at macports.org
Sun Aug 19 08:48:06 PDT 2012
Revision: 96799
https://trac.macports.org/changeset/96799
Author: blair at macports.org
Date: 2012-08-19 08:48:06 -0700 (Sun, 19 Aug 2012)
Log Message:
-----------
py-zeroc-ice34: also build py25-zeroc-ice34 by setting python.* for framework Python.
Modified Paths:
--------------
trunk/dports/python/py-zeroc-ice34/Portfile
Modified: trunk/dports/python/py-zeroc-ice34/Portfile
===================================================================
--- trunk/dports/python/py-zeroc-ice34/Portfile 2012-08-19 15:33:25 UTC (rev 96798)
+++ trunk/dports/python/py-zeroc-ice34/Portfile 2012-08-19 15:48:06 UTC (rev 96799)
@@ -41,9 +41,21 @@
patchfiles patch-py.config.Make.rules.Darwin.diff
platforms darwin
-python.versions 26 27
+python.versions 25 26 27
if {$subport != $name} {
+ # Special case Python 25 so only one Portfile is needed, as the
+ # Python Ice bindings need a the paths to the framework portion of
+ # the Python build. These copied from python26-1.0.tcl.
+ if {${python.version} == 25} {
+ set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
+ set python.bin ${python.prefix}/bin/python${python.branch}
+ set python.lib ${python.prefix}/Python
+ set python.libdir ${python.prefix}/lib/python${python.branch}
+ set python.pkgd ${python.prefix}/lib/python${python.branch}/site-packages
+ set python.include ${python.prefix}/include/python${python.branch}
+ }
+
depends_lib-append port:zeroc-ice34
build.dir ${worksrcpath}/py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120819/0b52c1ef/attachment.html>
More information about the macports-changes
mailing list