[100701] trunk/dports/python/py-yenc/Portfile

jmr at macports.org jmr at macports.org
Thu Dec 20 16:50:54 PST 2012


Revision: 100701
          https://trac.macports.org/changeset/100701
Author:   jmr at macports.org
Date:     2012-12-20 16:50:54 -0800 (Thu, 20 Dec 2012)
Log Message:
-----------
py-yenc: move to unified portgroup, update homepage, set license

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

Modified: trunk/dports/python/py-yenc/Portfile
===================================================================
--- trunk/dports/python/py-yenc/Portfile	2012-12-21 00:13:43 UTC (rev 100700)
+++ trunk/dports/python/py-yenc/Portfile	2012-12-21 00:50:54 UTC (rev 100701)
@@ -1,30 +1,35 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-yenc
 version			0.2
 revision		1
-categories		python
 platforms		darwin
+license			GPL-2
 maintainers		nomaintainer
 description		provides raw yEnc encoding/decoding with crc32 calculation
 long_description	py-yenc provides (only) raw yEnc encoding/decoding \
 				with builitin crc32 calculation.
 
-homepage		http://golug.cc.uniud.it/yenc.html
-master_sites	http://golug.cc.uniud.it/pub/yenc/
+homepage		http://www.golug.it/yenc.html
+master_sites	http://www.golug.it/pub/yenc/
 distname		yenc-${version}
 checksums		md5 2f1162447da3a25feb321e6776bdbb0a
-patchfiles		patch-yenc.c.diff \
-				patch-yenc.h.diff \
-				patch-yenc_wrap.c.diff
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} CHANGES COPYING README TODO \
-		${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 -W ${worksrcpath}/examples logo.gif logo.yenc \
-		ydecode.py yencode.py \
-		${destroot}${prefix}/share/doc/${name}/examples
+python.versions	24
+
+if {$subport != $name} {
+    patchfiles		patch-yenc.c.diff \
+                    patch-yenc.h.diff \
+                    patch-yenc_wrap.c.diff
+    
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} CHANGES COPYING README TODO \
+            ${destroot}${prefix}/share/doc/${subport}
+        xinstall -m 644 -W ${worksrcpath}/examples logo.gif logo.yenc \
+            ydecode.py yencode.py \
+            ${destroot}${prefix}/share/doc/${subport}/examples
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121220/62ec9211/attachment.html>


More information about the macports-changes mailing list