[101961] trunk/dports/python/py-ggy/Portfile

jmr at macports.org jmr at macports.org
Tue Jan 22 20:28:07 PST 2013


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

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

Modified: trunk/dports/python/py-ggy/Portfile
===================================================================
--- trunk/dports/python/py-ggy/Portfile	2013-01-23 04:11:20 UTC (rev 101960)
+++ trunk/dports/python/py-ggy/Portfile	2013-01-23 04:28:07 UTC (rev 101961)
@@ -1,13 +1,14 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-ggy
 version			0.4.1
 revision		1
-categories		python
+license			public-domain
 platforms		darwin
+supported_archs	noarch
 maintainers		nomaintainer
 description		parser and lexer generator for python, in python
 long_description	This is a Python package for generating parsers and \
@@ -18,11 +19,15 @@
 				parsing arbitrary grammars.
 
 homepage		http://lava.net/~newsham/pyggy/
-master_sites	${homepage}
+master_sites	${homepage} http://distfiles.macports.org/python/
 distname		pyggy-${version}
 checksums		md5 b134d0cfbc35ff392930550c7aa112d4
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} README TODO \
-		${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} README TODO \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130122/5ef533b9/attachment-0001.html>


More information about the macports-changes mailing list