[101963] trunk/dports/python/py-gadfly/Portfile

jmr at macports.org jmr at macports.org
Tue Jan 22 20:50:53 PST 2013


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

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

Modified: trunk/dports/python/py-gadfly/Portfile
===================================================================
--- trunk/dports/python/py-gadfly/Portfile	2013-01-23 04:39:07 UTC (rev 101962)
+++ trunk/dports/python/py-gadfly/Portfile	2013-01-23 04:50:53 UTC (rev 101963)
@@ -1,13 +1,15 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-gadfly
 version			1.0.0
 revision		1
 categories		python databases
+license			MIT
 platforms		darwin
+supported_archs	noarch
 maintainers		nomaintainer
 description		Simple relational SQL database system implemented in Python
 long_description	Gadfly is a simple relational database system \
@@ -19,13 +21,17 @@
 distname		gadfly-${version}
 checksums		md5 8dc11575e4d8042058f6ad11b32a8641
 
-depends_lib-append	port:py-kjbuckets
+python.versions	24
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath}/doc announcement.txt faq.txt \
-		gadfly.txt gfplus.txt index.txt installation.txt kjbuckets.txt \
-		kwParsing.txt network.txt recover.txt sql.txt structure.txt \
-		${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 -W ${worksrcpath} CHANGES.txt COPYRIGHT.txt README.txt \
-		TODO.txt ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+    depends_lib-append	port:py${python.version}-kjbuckets
+
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath}/doc announcement.txt faq.txt \
+            gadfly.txt gfplus.txt index.txt installation.txt kjbuckets.txt \
+            kwParsing.txt network.txt recover.txt sql.txt structure.txt \
+            ${destroot}${prefix}/share/doc/${subport}
+        xinstall -m 644 -W ${worksrcpath} CHANGES.txt COPYRIGHT.txt README.txt \
+            TODO.txt ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130122/db6f8fbd/attachment.html>


More information about the macports-changes mailing list