[101890] trunk/dports/python/py-iplib/Portfile

jmr at macports.org jmr at macports.org
Sun Jan 20 18:44:45 PST 2013


Revision: 101890
          https://trac.macports.org/changeset/101890
Author:   jmr at macports.org
Date:     2013-01-20 18:44:45 -0800 (Sun, 20 Jan 2013)
Log Message:
-----------
py-iplib: use unified portgroup, license, noarch

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

Modified: trunk/dports/python/py-iplib/Portfile
===================================================================
--- trunk/dports/python/py-iplib/Portfile	2013-01-21 02:38:55 UTC (rev 101889)
+++ trunk/dports/python/py-iplib/Portfile	2013-01-21 02:44:45 UTC (rev 101890)
@@ -1,13 +1,15 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-iplib
 version			0.7
 revision		1
 categories		python net
+license			GPL-2+
 platforms		darwin
+supported_archs	noarch
 maintainers		nomaintainer
 description		converter amongst notations in the CIDR notation
 long_description	iplib is a Python module useful to convert amongst \
@@ -15,13 +17,17 @@
 				address/netmask in the CIDR notation.
 
 
-homepage		http://erlug.linux.it/~da/soft/iplib/
-master_sites	${homepage}
+homepage		http://www.mimante.net/soft/iplib/
+master_sites	${homepage} http://distfiles.macports.org/python/
 distname		iplib-${version}
 checksums		md5 f4a784121a29c519978671618f8f6417
 
-post-destroot	{
-	file copy ${worksrcpath}/html ${destroot}${prefix}/share/doc/${name}/
-	xinstall -m 644 -W ${worksrcpath} GPL.txt INSTALL README README.iplib \
-		README.scripts TODO ${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot	{
+        file copy ${worksrcpath}/html ${destroot}${prefix}/share/doc/${subport}/
+        xinstall -m 644 -W ${worksrcpath} GPL.txt INSTALL README README.iplib \
+            README.scripts TODO ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130120/43211134/attachment.html>


More information about the macports-changes mailing list