[101687] trunk/dports/python/py-mechanoid/Portfile

jmr at macports.org jmr at macports.org
Wed Jan 16 22:29:11 PST 2013


Revision: 101687
          https://trac.macports.org/changeset/101687
Author:   jmr at macports.org
Date:     2013-01-16 22:29:11 -0800 (Wed, 16 Jan 2013)
Log Message:
-----------
py-mechanoid: use unified portgroup, license, noarch

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

Modified: trunk/dports/python/py-mechanoid/Portfile
===================================================================
--- trunk/dports/python/py-mechanoid/Portfile	2013-01-17 06:27:57 UTC (rev 101686)
+++ trunk/dports/python/py-mechanoid/Portfile	2013-01-17 06:29:11 UTC (rev 101687)
@@ -1,12 +1,14 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-mechanoid
 version			0.5.22
 categories		python www
+license			GPL-2+
 platforms		darwin
+supported_archs	noarch
 maintainers		nomaintainer
 description		programmatic browser python module
 long_description	mechanoid is a programmatic browser written in Python. It \
@@ -19,7 +21,11 @@
 distname		mechanoid-${version}
 checksums		md5 65ac6241c06000174250b3fc05c96b38
 
-post-destroot {
-	xinstall -m 644 -W ${worksrcpath} COPYING INSTALL PKG-INFO README \
-		changelog notes ${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot {
+        xinstall -m 644 -W ${worksrcpath} COPYING INSTALL PKG-INFO README \
+            changelog notes ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130116/5d1b5a4e/attachment.html>


More information about the macports-changes mailing list