[101209] trunk/dports/python/py-shellwords/Portfile

jmr at macports.org jmr at macports.org
Sun Jan 6 02:37:51 PST 2013


Revision: 101209
          https://trac.macports.org/changeset/101209
Author:   jmr at macports.org
Date:     2013-01-06 02:37:51 -0800 (Sun, 06 Jan 2013)
Log Message:
-----------
py-shellwords: use unified portgroup, license, noarch

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

Modified: trunk/dports/python/py-shellwords/Portfile
===================================================================
--- trunk/dports/python/py-shellwords/Portfile	2013-01-06 10:21:02 UTC (rev 101208)
+++ trunk/dports/python/py-shellwords/Portfile	2013-01-06 10:37:51 UTC (rev 101209)
@@ -1,13 +1,15 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-shellwords
 version			0.2
 revision		1
 categories		python textproc
+license			PSF
 platforms		darwin
+supported_archs	noarch
 maintainers		nomaintainer
 description		Parse strings into words like a POSIX shell does.
 long_description	Python module to parse strings into words like a POSIX \
@@ -18,7 +20,11 @@
 distname		python-shellwords-${version}
 checksums		md5 919a92e9b320d48c063b6edf09e16411
 
-post-destroot	{
-	file copy ${worksrcpath}/HISTORY ${worksrcpath}/README \
-		${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot	{
+        file copy ${worksrcpath}/HISTORY ${worksrcpath}/README \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130106/b7480b95/attachment.html>


More information about the macports-changes mailing list