[28120] trunk/dports/lang/python24/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Aug 21 06:41:55 PDT 2007
Revision: 28120
http://trac.macosforge.org/projects/macports/changeset/28120
Author: raimue at macports.org
Date: 2007-08-21 06:41:55 -0700 (Tue, 21 Aug 2007)
Log Message:
-----------
lang/python24:
Don't install python binaries without version suffix.
Use new python_select to choose your version.
Modified Paths:
--------------
trunk/dports/lang/python24/Portfile
Modified: trunk/dports/lang/python24/Portfile
===================================================================
--- trunk/dports/lang/python24/Portfile 2007-08-21 13:40:27 UTC (rev 28119)
+++ trunk/dports/lang/python24/Portfile 2007-08-21 13:41:55 UTC (rev 28120)
@@ -93,6 +93,20 @@
}
}
+
+# delete symlinks without version suffix, use python_select instead to choose version
+platform darwin {
+ post-destroot {
+ cd ${destroot}${prefix}
+ file delete bin/python
+ file delete bin/pythonw
+ file delete bin/idle
+ file delete bin/pydoc
+ file delete bin/smtpd.py
+ file rename share/man/man1/python.1 share/man/man1/python2.4.1
+ }
+}
+
platform puredarwin {
configure.args-delete --enable-framework=${prefix}/Library/Frameworks
configure.args-append --disable-toolbox-glue --disable-framework
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070821/373574aa/attachment.html
More information about the macports-changes
mailing list