[101679] trunk/dports/python/py-msnp/Portfile

jmr at macports.org jmr at macports.org
Wed Jan 16 21:06:12 PST 2013


Revision: 101679
          https://trac.macports.org/changeset/101679
Author:   jmr at macports.org
Date:     2013-01-16 21:06:12 -0800 (Wed, 16 Jan 2013)
Log Message:
-----------
py-msnp: use unified portgroup, license, noarch

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

Modified: trunk/dports/python/py-msnp/Portfile
===================================================================
--- trunk/dports/python/py-msnp/Portfile	2013-01-17 05:00:51 UTC (rev 101678)
+++ trunk/dports/python/py-msnp/Portfile	2013-01-17 05:06:12 UTC (rev 101679)
@@ -1,12 +1,14 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-msnp
 version			0.4.1
 categories		python net
+license			GPL-2+
 platforms		darwin
+supported_archs	noarch
 maintainers		nomaintainer
 description		MSN messaging in Python
 long_description	msnp.py is an implementation of the MSN instant messaging \
@@ -18,8 +20,11 @@
 distname		msnp.py-${version}
 checksums		md5 8e09e7126ad6b14a789ba4cd9178f9d2
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} LICENSE PKG-INFO README tutorial.html \
-		${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} LICENSE PKG-INFO README tutorial.html \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130116/e7365bf1/attachment.html>


More information about the macports-changes mailing list