[53964] trunk/dports/sysutils/python_select

snc at macports.org snc at macports.org
Fri Jul 17 04:25:36 PDT 2009


Revision: 53964
          http://trac.macports.org/changeset/53964
Author:   snc at macports.org
Date:     2009-07-17 04:25:36 -0700 (Fri, 17 Jul 2009)
Log Message:
-----------
added paths to python26 in 10.6, ticket #20285

Modified Paths:
--------------
    trunk/dports/sysutils/python_select/Portfile

Added Paths:
-----------
    trunk/dports/sysutils/python_select/files/python26-apple

Modified: trunk/dports/sysutils/python_select/Portfile
===================================================================
--- trunk/dports/sysutils/python_select/Portfile	2009-07-17 10:54:14 UTC (rev 53963)
+++ trunk/dports/sysutils/python_select/Portfile	2009-07-17 11:25:36 UTC (rev 53964)
@@ -61,6 +61,18 @@
     }
 }
 
+platform darwin 10 {
+	post-destroot {
+		xinstall -m 644 -W ${filespath} python26-apple ${destroot}${prefix}/etc/select/python
+	}
+
+	post-activate {
+		if {[exec ${prefix}/bin/${name} -s] == "none"} {
+			system "${prefix}/bin/${name} python26-apple"
+		}
+	}
+}
+
 livecheck.check    none
 
 # Documentation for python ports:

Added: trunk/dports/sysutils/python_select/files/python26-apple
===================================================================
--- trunk/dports/sysutils/python_select/files/python26-apple	                        (rev 0)
+++ trunk/dports/sysutils/python_select/files/python26-apple	2009-07-17 11:25:36 UTC (rev 53964)
@@ -0,0 +1,12 @@
+/usr/bin/python2.6
+/usr/bin/pythonw2.6
+/usr/bin/python2.6-config
+-
+/usr/bin/pydoc2.6
+/usr/bin/smtpd2.6.py
+-
+/usr/share/man/man1/python2.6.1.gz
+-
+-
+-
+-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090717/d40698b0/attachment.html>


More information about the macports-changes mailing list