Revision
100746
Author
jmr@macports.org
Date
2012-12-21 15:38:39 -0800 (Fri, 21 Dec 2012)

Log Message

py-xar: switch to unified portgroup, set license

Modified Paths

Diff

Modified: trunk/dports/python/py-xar/Portfile (100745 => 100746)


--- trunk/dports/python/py-xar/Portfile	2012-12-21 23:27:26 UTC (rev 100745)
+++ trunk/dports/python/py-xar/Portfile	2012-12-21 23:38:39 UTC (rev 100746)
@@ -1,12 +1,12 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-xar
 version			0.4
-categories		python
 platforms		darwin
+license			BSD
 maintainers		afb openmaintainer
 description		Python bindings for xar
 long_description	The Python bindings for xar currently include a single \
@@ -15,9 +15,13 @@
 
 homepage		http://code.google.com/p/xar/wiki/pyxar
 
-depends_lib		port:xar \
-			port:py-pyrex
-
 master_sites		http://xar.googlecode.com/files/
 distname		pyxar-${version}
 checksums		md5 fec45900eada611df5091930598c69f4
+
+python.versions	24
+
+if {$subport != $name} {
+	depends_lib	port:xar \
+			port:py${python.version}-pyrex
+}