[101962] trunk/dports/python/py-getargs/Portfile

jmr at macports.org jmr at macports.org
Tue Jan 22 20:39:07 PST 2013


Revision: 101962
          https://trac.macports.org/changeset/101962
Author:   jmr at macports.org
Date:     2013-01-22 20:39:07 -0800 (Tue, 22 Jan 2013)
Log Message:
-----------
py-getargs: use unified portgroup, mark noarch

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

Modified: trunk/dports/python/py-getargs/Portfile
===================================================================
--- trunk/dports/python/py-getargs/Portfile	2013-01-23 04:28:07 UTC (rev 101961)
+++ trunk/dports/python/py-getargs/Portfile	2013-01-23 04:39:07 UTC (rev 101962)
@@ -1,13 +1,13 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-getargs
 version			2.14
 revision		1
-categories		python
 platforms		darwin
+supported_archs	noarch
 maintainers		nomaintainer
 description		command line parser for python
 long_description	This module implements a Command Line Parser class that \
@@ -16,12 +16,16 @@
 				and flexible alternative to the standard getopt module.
 
 homepage		http://iamroot.beigetower.org/getargs.html
-master_sites	http://iamroot.beigetower.org/pkgs/getargs/
+master_sites	http://iamroot.beigetower.org/pkgs/getargs/ freebsd
 distname		getargs-${version}
 checksums		md5 a492922d830e37c5e5026be7a27bc925
 use_bzip2		yes
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} CHANGELOG INSTALL README \
-		${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} CHANGELOG INSTALL README \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130122/d0d1f470/attachment.html>


More information about the macports-changes mailing list