[100646] trunk/dports/python/py-ogg/Portfile

jmr at macports.org jmr at macports.org
Tue Dec 18 10:13:47 PST 2012


Revision: 100646
          https://trac.macports.org/changeset/100646
Author:   jmr at macports.org
Date:     2012-12-18 10:13:47 -0800 (Tue, 18 Dec 2012)
Log Message:
-----------
py-ogg: move to unified portgroup, set license

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

Modified: trunk/dports/python/py-ogg/Portfile
===================================================================
--- trunk/dports/python/py-ogg/Portfile	2012-12-18 18:11:52 UTC (rev 100645)
+++ trunk/dports/python/py-ogg/Portfile	2012-12-18 18:13:47 UTC (rev 100646)
@@ -1,12 +1,13 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-ogg
 version			1.3
 revision		1
 categories		python audio multimedia
+license			LGPL-2
 platforms		darwin
 maintainers		nomaintainer
 description		Python module for the ogg multimedia interface
@@ -19,16 +20,20 @@
 distname		pyogg-${version}
 checksums		md5 45a4ecc4d0600661199e4040a81ea3fe
 
-depends_lib-append	lib:libogg:libogg
+python.versions	24
 
-patchfiles		patch-src__oggmodule.c \
-				patch-src__oggmodule.h
-
-use_configure	yes
-configure.cmd	${python.bin} config_unix.py
-configure.pre_args	--prefix ${prefix}
-
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
-		NEWS ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+    depends_lib-append	lib:libogg:libogg
+    
+    patchfiles		patch-src__oggmodule.c \
+                    patch-src__oggmodule.h
+    
+    use_configure	yes
+    configure.cmd	${python.bin} config_unix.py
+    configure.pre_args	--prefix ${prefix}
+    
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
+            NEWS ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121218/4ee6ced2/attachment.html>


More information about the macports-changes mailing list