[102138] trunk/dports/python/py-do/Portfile

jmr at macports.org jmr at macports.org
Mon Jan 28 02:32:42 PST 2013


Revision: 102138
          https://trac.macports.org/changeset/102138
Author:   jmr at macports.org
Date:     2013-01-28 02:32:42 -0800 (Mon, 28 Jan 2013)
Log Message:
-----------
py-do: use unified portgroup, license, noarch

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

Modified: trunk/dports/python/py-do/Portfile
===================================================================
--- trunk/dports/python/py-do/Portfile	2013-01-28 09:11:17 UTC (rev 102137)
+++ trunk/dports/python/py-do/Portfile	2013-01-28 10:32:42 UTC (rev 102138)
@@ -1,12 +1,14 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-do
 version			2.0
 categories		python databases
+license			BSD
 platforms		darwin
+supported_archs	noarch
 maintainers		nomaintainer
 description		PyDO is a Object-Relational database access tool.
 long_description	${description}
@@ -15,9 +17,14 @@
 master_sites	http://download.berlios.de/skunkweb/
 distname		PyDO-${version}
 checksums		sha1 67340af6f46551698fae744712f23098879c3713
-patchfiles		patch-setup.py
 
-post-destroot	{
-	file delete -force ${destroot}${prefix}/share/doc/${name}
-	file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    patchfiles		patch-setup.py
+
+    post-destroot	{
+        file delete -force ${destroot}${prefix}/share/doc/${subport}
+        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130128/1d042f23/attachment.html>


More information about the macports-changes mailing list