[100770] trunk/dports/python/py-url/Portfile

jmr at macports.org jmr at macports.org
Sun Dec 23 14:52:25 PST 2012


Revision: 100770
          https://trac.macports.org/changeset/100770
Author:   jmr at macports.org
Date:     2012-12-23 14:52:25 -0800 (Sun, 23 Dec 2012)
Log Message:
-----------
py-url: use unified portgroup

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

Modified: trunk/dports/python/py-url/Portfile
===================================================================
--- trunk/dports/python/py-url/Portfile	2012-12-23 22:46:22 UTC (rev 100769)
+++ trunk/dports/python/py-url/Portfile	2012-12-23 22:52:25 UTC (rev 100770)
@@ -1,12 +1,11 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-url
 version			0.15.1
 revision		1
-categories		python
 license			MIT
 platforms		darwin freebsd
 maintainers		phw openmaintainer
@@ -22,11 +21,16 @@
 checksums       md5     ffa18a0ba9512b0d32c3331241c9e751
 use_bzip2		yes
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} HOWTO INSTALL NEWS README \
-		${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} HOWTO INSTALL NEWS README \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
+    livecheck.type	none
+} else {
+    livecheck.type  regex
+    livecheck.url   ${master_sites}
+    livecheck.regex {"ll-url-([0-9\.]+).tar.gz"}
 }
-
-livecheck.type  regex
-livecheck.url   ${master_sites}
-livecheck.regex {"ll-url-([0-9\.]+).tar.gz"}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121223/bec40abc/attachment.html>


More information about the macports-changes mailing list