[101959] trunk/dports/python/py-graphpath/Portfile

jmr at macports.org jmr at macports.org
Tue Jan 22 20:02:44 PST 2013


Revision: 101959
          https://trac.macports.org/changeset/101959
Author:   jmr at macports.org
Date:     2013-01-22 20:02:43 -0800 (Tue, 22 Jan 2013)
Log Message:
-----------
py-graphpath: use unified portgroup, license, noarch

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

Modified: trunk/dports/python/py-graphpath/Portfile
===================================================================
--- trunk/dports/python/py-graphpath/Portfile	2013-01-23 02:04:17 UTC (rev 101958)
+++ trunk/dports/python/py-graphpath/Portfile	2013-01-23 04:02:43 UTC (rev 101959)
@@ -1,12 +1,13 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-graphpath
 version			0.7
-categories		python
+license			GPL-2
 platforms		darwin freebsd
+supported_archs	noarch
 maintainers		nomaintainer
 description		small language for ananlysing graph-structured data in Python
 long_description	GraphPath is a little-language for analysing \
@@ -20,12 +21,16 @@
 distname		GraphPath-${version}
 checksums		md5 fa81c0166a6be4bf437597362c4af163
 
-test.run		yes
-test.cmd		${python.bin} test.py
-test.target
+python.versions	24
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} LICENSE README index.html \
-		python.html rdf_w3c_icon.128.gif reference.html style.css \
-		tutorial.html ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+    test.run		yes
+    test.cmd		${python.bin} test.py
+    test.target
+
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} LICENSE README index.html \
+            python.html rdf_w3c_icon.128.gif reference.html style.css \
+            tutorial.html ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130122/0daae1cb/attachment.html>


More information about the macports-changes mailing list