[101052] trunk/dports/python/py-mx/Portfile

jmr at macports.org jmr at macports.org
Thu Jan 3 10:18:19 PST 2013


Revision: 101052
          https://trac.macports.org/changeset/101052
Author:   jmr at macports.org
Date:     2013-01-03 10:18:19 -0800 (Thu, 03 Jan 2013)
Log Message:
-----------
py-mx: use unified portgroup

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

Modified: trunk/dports/python/py-mx/Portfile
===================================================================
--- trunk/dports/python/py-mx/Portfile	2013-01-03 18:16:57 UTC (rev 101051)
+++ trunk/dports/python/py-mx/Portfile	2013-01-03 18:18:19 UTC (rev 101052)
@@ -1,7 +1,7 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-mx
 version			2.0.6
@@ -21,7 +21,11 @@
 distname		egenix-mx-base-${version}
 checksums		md5 66841151728a06f92d0b8dd2ed317a29
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} COPYRIGHT LICENSE README \
-		${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} COPYRIGHT LICENSE README \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130103/bca85c9e/attachment.html>


More information about the macports-changes mailing list