[100748] trunk/dports/python/py-work/Portfile

jmr at macports.org jmr at macports.org
Fri Dec 21 16:11:35 PST 2012


Revision: 100748
          https://trac.macports.org/changeset/100748
Author:   jmr at macports.org
Date:     2012-12-21 16:11:35 -0800 (Fri, 21 Dec 2012)
Log Message:
-----------
py-work: move to unified portgroup

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

Modified: trunk/dports/python/py-work/Portfile
===================================================================
--- trunk/dports/python/py-work/Portfile	2012-12-21 23:53:21 UTC (rev 100747)
+++ trunk/dports/python/py-work/Portfile	2012-12-22 00:11:35 UTC (rev 100748)
@@ -1,7 +1,7 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-work
 version			0.4.8
@@ -18,12 +18,16 @@
 
 homepage		http://pywork.sourceforge.net/
 master_sites	sourceforge:pywork
-distfiles		pywork-${version}.tgz
 checksums		md5 2597039f415dc9f779514f19c4114ae2
 
-worksrcdir		pywork
+python.versions	24
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} CHANGELOG INSTALL TODO \
-		${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+    distfiles		pywork-${version}.tgz
+    worksrcdir		pywork
+    
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} CHANGELOG INSTALL TODO \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121221/2643f829/attachment.html>


More information about the macports-changes mailing list