[101616] trunk/dports/python/py-orq/Portfile

jmr at macports.org jmr at macports.org
Mon Jan 14 18:14:33 PST 2013


Revision: 101616
          https://trac.macports.org/changeset/101616
Author:   jmr at macports.org
Date:     2013-01-14 18:14:33 -0800 (Mon, 14 Jan 2013)
Log Message:
-----------
py-orq: use unified portgroup, license, noarch

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

Modified: trunk/dports/python/py-orq/Portfile
===================================================================
--- trunk/dports/python/py-orq/Portfile	2013-01-15 02:11:09 UTC (rev 101615)
+++ trunk/dports/python/py-orq/Portfile	2013-01-15 02:14:33 UTC (rev 101616)
@@ -1,13 +1,15 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-orq
 version			0.1
 revision		1
 categories		python databases
+license			MIT
 platforms		darwin
+supported_archs	noarch
 maintainers		nomaintainer
 description		object relational bridge for Python objects using a RDB
 long_description	PyORQ (Python Object Relational binding with Queries) \
@@ -21,11 +23,15 @@
 distname		PyORQ-${version}
 checksums		md5 204dc5b8e5de2e73c0103d7d2032bcee
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath}/docs/html about.html blank.gif \
-		contents.gif contents.html design.html images.pl img1.old index.dat \
-		index.gif index.html internals.pl intlabels.pl labels.pl \
-		module-pyorq.interface.dbbase.html modules.gif next.gif node2.html \
-		previous.gif pyfav.gif pyorq_doc.css pyorq_doc.html reference.html \
-		up.gif user.html ${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath}/docs/html about.html blank.gif \
+            contents.gif contents.html design.html images.pl img1.old index.dat \
+            index.gif index.html internals.pl intlabels.pl labels.pl \
+            module-pyorq.interface.dbbase.html modules.gif next.gif node2.html \
+            previous.gif pyfav.gif pyorq_doc.css pyorq_doc.html reference.html \
+            up.gif user.html ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130114/1edbdd16/attachment.html>


More information about the macports-changes mailing list