[101683] trunk/dports/python/py-mongoose/Portfile

jmr at macports.org jmr at macports.org
Wed Jan 16 22:07:17 PST 2013


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

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

Modified: trunk/dports/python/py-mongoose/Portfile
===================================================================
--- trunk/dports/python/py-mongoose/Portfile	2013-01-17 05:33:34 UTC (rev 101682)
+++ trunk/dports/python/py-mongoose/Portfile	2013-01-17 06:07:17 UTC (rev 101683)
@@ -1,13 +1,15 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-mongoose
 version			0.1
 revision		1
 categories		python devel
+license			LGPL-2.1+
 platforms		darwin
+supported_archs	noarch
 maintainers		nomaintainer
 description		advanced python exception handler
 long_description	Mongoose catches runaway Pythons. It provides a \
@@ -25,7 +27,11 @@
 checksums		md5 0dcd92b57626d6ee67d96b6132e713c5
 use_bzip2		yes
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} README \
-		${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} README \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130116/29d6d2e1/attachment.html>


More information about the macports-changes mailing list