[101548] trunk/dports/python/py-posixtimezone/Portfile

jmr at macports.org jmr at macports.org
Sun Jan 13 13:55:22 PST 2013


Revision: 101548
          https://trac.macports.org/changeset/101548
Author:   jmr at macports.org
Date:     2013-01-13 13:55:22 -0800 (Sun, 13 Jan 2013)
Log Message:
-----------
py-posixtimezone: use unified portgroup, set license

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

Modified: trunk/dports/python/py-posixtimezone/Portfile
===================================================================
--- trunk/dports/python/py-posixtimezone/Portfile	2013-01-13 20:59:06 UTC (rev 101547)
+++ trunk/dports/python/py-posixtimezone/Portfile	2013-01-13 21:55:22 UTC (rev 101548)
@@ -1,12 +1,13 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-posixtimezone
 version			0.9.4
 revision		1
 categories		python sysutils
+license			BSD
 platforms		darwin
 maintainers		nomaintainer
 description		tzinfo implementation for python
@@ -15,11 +16,15 @@
 				handle timezone calculations.
 
 homepage		http://stuartbishop.net/Software/PosixTimeZone/
-master_sites	http://zen.freezope.org/Software/PosixTimeZone/
+master_sites	${homepage}
 distname		PosixTimeZone-${version}
 checksums		md5 42a5709e358ac4e73111de3bbbd0b709
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} BUGS.txt LICENSE.txt \
-		${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} BUGS.txt LICENSE.txt \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130113/f397da93/attachment.html>


More information about the macports-changes mailing list