[82449] trunk/dports/python

blb at macports.org blb at macports.org
Sat Aug 13 16:49:07 PDT 2011


Revision: 82449
          http://trac.macports.org/changeset/82449
Author:   blb at macports.org
Date:     2011-08-13 16:49:05 -0700 (Sat, 13 Aug 2011)
Log Message:
-----------
py2*-freebase: unify

Modified Paths:
--------------
    trunk/dports/python/py-freebase/Portfile

Added Paths:
-----------
    trunk/dports/python/py-freebase/

Removed Paths:
-------------
    trunk/dports/python/py25-freebase/
    trunk/dports/python/py26-freebase/
    trunk/dports/python/py27-freebase/

Modified: trunk/dports/python/py-freebase/Portfile
===================================================================
--- trunk/dports/python/py26-freebase/Portfile	2011-08-13 22:10:32 UTC (rev 82436)
+++ trunk/dports/python/py-freebase/Portfile	2011-08-13 23:49:05 UTC (rev 82449)
@@ -1,8 +1,8 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
-name                py26-freebase
+PortGroup           python 1.0
+name                py-freebase
 epoch               1
 version             1.0.8
 revision            1
@@ -27,15 +27,20 @@
                     sha1    9f0e398d4f1e21126d5949ccf2bc8172d10065c0 \
                     rmd160  f7ec4ba8c1918c60852724ff79e72e36800658e8
 
-post-destroot {
-   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
-      ${destroot}${prefix}/share/examples/${name}
-   xinstall -m 644 -W ${worksrcpath} COPYRIGHT README \
-      ${destroot}${prefix}/share/doc/${name}
-   eval file copy [glob ${worksrcpath}/examples/*] \
-      ${destroot}${prefix}/share/examples/${name}
+if {${name} != ${subport}} {
+   post-destroot {
+      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \
+         ${destroot}${prefix}/share/examples/${subport}
+      xinstall -m 644 -W ${worksrcpath} COPYRIGHT README \
+         ${destroot}${prefix}/share/doc/${subport}
+      eval file copy [glob ${worksrcpath}/examples/*] \
+         ${destroot}${prefix}/share/examples/${subport}
+   }
 }
 
+python.default_version   27
+python.versions     25 26 27
+
 livecheck.url       [lindex ${master_sites} 0]
 livecheck.regex     {freebase-([.\d]+)\.tar\.gz}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110813/9c5cba87/attachment.html>


More information about the macports-changes mailing list