[37335] trunk/dports/lang/python24/Portfile
jmr at macports.org
jmr at macports.org
Tue Jun 3 11:38:46 PDT 2008
Revision: 37335
http://trac.macosforge.org/projects/macports/changeset/37335
Author: jmr at macports.org
Date: 2008-06-03 11:38:45 -0700 (Tue, 03 Jun 2008)
Log Message:
-----------
python24: add an empty `platform macosx` so that the variant_isset check for
it will be triggered. Also fix the pydoc path for macosx, and make sure there
is a python2.4.dylib link in ${prefix}/lib.
Modified Paths:
--------------
trunk/dports/lang/python24/Portfile
Modified: trunk/dports/lang/python24/Portfile
===================================================================
--- trunk/dports/lang/python24/Portfile 2008-06-03 18:18:55 UTC (rev 37334)
+++ trunk/dports/lang/python24/Portfile 2008-06-03 18:38:45 UTC (rev 37335)
@@ -4,6 +4,7 @@
name python24
version 2.4.5
+revision 1
set major_version 2
set minor_version 4
categories lang
@@ -67,10 +68,11 @@
set framewdir ${prefix}/Library/Frameworks/Python.framework
xinstall -m 755 -d ${destroot}${framewdir}/Versions/2.4/include
ln -s Versions/Current/lib ${destroot}${framewdir}/Libraries
- ln -sf ${framewdir}/Versions/2.4/bin/pydoc ${destroot}${prefix}/binpydoc
- ln -sf ${framewdir}/Versions/2.4/bin/pydoc ${destroot}${prefix}/binpydoc24
+ ln -sf ${framewdir}/Versions/2.4/bin/pydoc ${destroot}${prefix}/bin/pydoc
+ ln -sf ${framewdir}/Versions/2.4/bin/pydoc ${destroot}${prefix}/bin/pydoc24
ln -s ${prefix}/lib/python2.4/config ${destroot}${framewdir}/Versions/2.4/lib/python2.4/config
ln -s ${framewdir}/Versions/2.4/lib/libpython${major_version}.${minor_version}.dylib ${destroot}${prefix}/lib/libpython${version}.dylib
+ ln -s ${framewdir}/Versions/2.4/lib/libpython${major_version}.${minor_version}.dylib ${destroot}${prefix}/lib/libpython${major_version}.${minor_version}.dylib
ln -s ${framewdir}/Versions/2.4/lib/libpython${major_version}.${minor_version}.dylib ${destroot}${prefix}/lib/libpython${major_version}.dylib
ln -s ${framewdir}/Versions/2.4/lib/libpython${major_version}.${minor_version}.dylib ${destroot}${prefix}/lib/libpython.dylib
} elseif { [variant_isset darwin]} {
@@ -88,6 +90,8 @@
}
}
+# needed to trigger the variant_isset check above
+platform macosx {}
# delete symlinks without version suffix, use python_select instead to choose version
platform darwin {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080603/1f748b81/attachment.htm
More information about the macports-changes
mailing list