[102216] trunk/dports/python

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


Revision: 102216
          https://trac.macports.org/changeset/102216
Author:   jmr at macports.org
Date:     2013-01-29 07:07:23 -0800 (Tue, 29 Jan 2013)
Log Message:
-----------
py31-crcmod: use unified portgroup, set license

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

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

Removed Paths:
-------------
    trunk/dports/python/py31-crcmod/

Modified: trunk/dports/python/py-crcmod/Portfile
===================================================================
--- trunk/dports/python/py31-crcmod/Portfile	2013-01-29 01:00:57 UTC (rev 102168)
+++ trunk/dports/python/py-crcmod/Portfile	2013-01-29 15:07:23 UTC (rev 102216)
@@ -1,11 +1,11 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python31 1.0
+PortGroup           python 1.0
 
-name                py31-crcmod
+name                py-crcmod
 version             1.7
-categories          python 
+license             MIT
 platforms           darwin
 
 maintainers         phw openmaintainer
@@ -18,13 +18,16 @@
                     sha1    61d9fea169099b87c2e36ce572d2d25e0fd2de59 \
                     rmd160  503b415394d7c833b22e5a999454c0d67598cd54
 
+python.versions     31
 
+if {$subport != $name} {
+    build.args-append -f
 
-build.args-append -f
-
-post-destroot {
-	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 -W ${worksrcpath} README changelog ${destroot}${prefix}/share/doc/${name}
+    post-destroot {
+        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+        xinstall -m 644 -W ${worksrcpath} README changelog ${destroot}${prefix}/share/doc/${subport}
+    }
+    livecheck.type  none
+} else {
+    livecheck.regex	"crcmod-(\\d+(?:\\.\\d+)*)"
 }
-
-livecheck.regex	"crcmod-(\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130129/9ebe1472/attachment.html>


More information about the macports-changes mailing list