[67783] trunk/dports/sysutils/python_select/Portfile

jmr at macports.org jmr at macports.org
Tue May 18 04:17:24 PDT 2010


Revision: 67783
          http://trac.macports.org/changeset/67783
Author:   jmr at macports.org
Date:     2010-05-18 04:17:19 -0700 (Tue, 18 May 2010)
Log Message:
-----------
python_select: mark as noarch, add license, remove darwin 7

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

Modified: trunk/dports/sysutils/python_select/Portfile
===================================================================
--- trunk/dports/sysutils/python_select/Portfile	2010-05-18 10:52:42 UTC (rev 67782)
+++ trunk/dports/sysutils/python_select/Portfile	2010-05-18 11:17:19 UTC (rev 67783)
@@ -7,6 +7,7 @@
 version                 0.3
 categories              sysutils
 platforms               darwin
+license                 BSD
 maintainers             raimue
 description             Switch the default python interpreter
 long_description        python_select lets you switch the default python interpreter. \
@@ -20,6 +21,12 @@
                         sha1    4aa312d7e0b9ede1ef015fcd941ff53a0329127a \
                         rmd160  f121d366cdecc7d5331040abfd153334399d80d5
 
+if {[info exists supported_archs]} {
+    supported_archs noarch
+} else {
+    universal_variant no
+}
+
 configure.args          --mandir=${prefix}/share/man --name=python
 
 # install all files
@@ -28,18 +35,6 @@
     select::install python ${filespath}/none
 }
 
-platform darwin 7 {
-    post-destroot {
-        select::install python ${filespath}/python23-apple
-    }
-
-    post-activate {
-        if {[exec ${prefix}/bin/${name} -s] == "none"} {
-            system "${destroot}${prefix}/bin/${name} python23-apple"
-        }
-    }
-}
-
 platform darwin 8 {
     post-destroot {
         select::install python ${filespath}/python23-apple
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100518/8b10023f/attachment.html>


More information about the macports-changes mailing list