[100958] trunk/dports/python/py-srs/Portfile

jmr at macports.org jmr at macports.org
Wed Jan 2 01:04:11 PST 2013


Revision: 100958
          https://trac.macports.org/changeset/100958
Author:   jmr at macports.org
Date:     2013-01-02 01:04:11 -0800 (Wed, 02 Jan 2013)
Log Message:
-----------
py-srs: use unified portgroup, license, noarch

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

Modified: trunk/dports/python/py-srs/Portfile
===================================================================
--- trunk/dports/python/py-srs/Portfile	2013-01-02 08:32:33 UTC (rev 100957)
+++ trunk/dports/python/py-srs/Portfile	2013-01-02 09:04:11 UTC (rev 100958)
@@ -1,12 +1,14 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-srs
 version			0.30.9
 categories		python mail
+license			PSF
 platforms		darwin
+supported_archs	noarch
 maintainers		nomaintainer
 description		Sender Rewriting Scheme in Python
 long_description	${description}
@@ -16,7 +18,11 @@
 distname		pysrs-${version}
 checksums		md5 d72c9d04ae8369ec8fc604dfba2fa069
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} CHANGES PKG-INFO \
-		${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} CHANGES PKG-INFO \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130102/c49866c5/attachment.html>


More information about the macports-changes mailing list