[101224] trunk/dports/python/py-roundup/Portfile

jmr at macports.org jmr at macports.org
Sun Jan 6 06:16:15 PST 2013


Revision: 101224
          https://trac.macports.org/changeset/101224
Author:   jmr at macports.org
Date:     2013-01-06 06:16:15 -0800 (Sun, 06 Jan 2013)
Log Message:
-----------
py-roundup: use unified portgroup, license, noarch

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

Modified: trunk/dports/python/py-roundup/Portfile
===================================================================
--- trunk/dports/python/py-roundup/Portfile	2013-01-06 14:04:20 UTC (rev 101223)
+++ trunk/dports/python/py-roundup/Portfile	2013-01-06 14:16:15 UTC (rev 101224)
@@ -1,10 +1,12 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python24 1.0
+PortGroup           python 1.0
+
 name                py-roundup
 version             1.3.3
 categories-append   www
+license             MIT PSF ZPL-2
 maintainers         nomaintainer
 description         Issue-tracking system
 long_description \
@@ -16,6 +18,7 @@
     project is richard at users.sourceforge.net.
 
 platforms           darwin
+supported_archs     noarch
 
 homepage            http://roundup.sf.net/
 master_sites        http://cheeseshop.python.org/packages/source/r/roundup/
@@ -23,15 +26,18 @@
 
 checksums           sha1 76242a43974e33ec1fcc711cf3bdd91c18aa46fe
 
+python.versions     24
 
-pre-build {
-    reinplace "s|man/man1|share/man/man1|" ${worksrcpath}/setup.py
-}
+if {$subport != $name} {
+    pre-build {
+        reinplace "s|man/man1|share/man/man1|" ${worksrcpath}/setup.py
+    }
 
-post-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-    eval file copy [glob ${worksrcpath}/doc/*] \
-        ${destroot}${prefix}/share/doc/${name}
-    eval reinplace "s|${destroot}${prefix}|${prefix}|g" \
-        [glob ${destroot}${prefix}/bin/*]
+    post-destroot {
+        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+        eval file copy [glob ${worksrcpath}/doc/*] \
+            ${destroot}${prefix}/share/doc/${subport}
+        eval reinplace "s|${destroot}${prefix}|${prefix}|g" \
+            [glob ${destroot}${prefix}/bin/*]
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130106/ff2ff813/attachment-0001.html>


More information about the macports-changes mailing list