[102221] trunk/dports/python

jmr at macports.org jmr at macports.org
Tue Jan 29 07:16:49 PST 2013


Revision: 102221
          https://trac.macports.org/changeset/102221
Author:   jmr at macports.org
Date:     2013-01-29 07:16:49 -0800 (Tue, 29 Jan 2013)
Log Message:
-----------
py*-tc: unify, set license

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

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

Removed Paths:
-------------
    trunk/dports/python/py25-tc/
    trunk/dports/python/py26-tc/
    trunk/dports/python/py31-tc/

Modified: trunk/dports/python/py-tc/Portfile
===================================================================
--- trunk/dports/python/py31-tc/Portfile	2013-01-29 01:00:57 UTC (rev 102168)
+++ trunk/dports/python/py-tc/Portfile	2013-01-29 15:16:49 UTC (rev 102221)
@@ -1,11 +1,12 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python31 1.0
+PortGroup           python 1.0
 
-name                py31-tc
+name                py-tc
 version             0.7.2
 categories          python databases
+license             BSD
 platforms           darwin
 
 maintainers         rasmus
@@ -18,11 +19,15 @@
 checksums           md5  4405e1464caf0a0b1e1bc30f0874cd9f \
                     sha1 cf95b3c67ab632b551042b9b75d29036cdece0d8
 
-depends_lib-append  port:tokyocabinet
+python.versions     25 26 31
 
-build.args-append -f
+if {$subport != $name} {
+    depends_lib-append  port:tokyocabinet
 
-post-destroot {
-	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 -W ${worksrcpath} LICENSE README.rst CHANGELOG.rst ${destroot}${prefix}/share/doc/${name}
+    build.args-append -f
+
+    post-destroot {
+        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+        xinstall -m 644 -W ${worksrcpath} LICENSE README.rst CHANGELOG.rst ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130129/010c0396/attachment.html>


More information about the macports-changes mailing list