[101493] trunk/dports/python/py-probstat/Portfile

jmr at macports.org jmr at macports.org
Fri Jan 11 13:37:59 PST 2013


Revision: 101493
          https://trac.macports.org/changeset/101493
Author:   jmr at macports.org
Date:     2013-01-11 13:37:59 -0800 (Fri, 11 Jan 2013)
Log Message:
-----------
py-probstat: use unified portgroup, set license

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

Modified: trunk/dports/python/py-probstat/Portfile
===================================================================
--- trunk/dports/python/py-probstat/Portfile	2013-01-11 21:32:52 UTC (rev 101492)
+++ trunk/dports/python/py-probstat/Portfile	2013-01-11 21:37:59 UTC (rev 101493)
@@ -1,12 +1,13 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-probstat
 version			0.912
 revision		1
 categories		python math
+license			GPL-2+
 platforms		darwin
 maintainers		nomaintainer
 description		Probability And Statistics for python
@@ -15,12 +16,15 @@
 
 homepage		http://probstat.sourceforge.net/
 master_sites	sourceforge:probstat
-distfiles		probstat_${version}.tgz
+distname		probstat_${version}
+extract.suffix	.tgz
 checksums		md5 7377fbd7a1c6a968dc1e7258acbac6d6
 
-worksrcdir		probstat_${version}
+python.versions	24
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} CHANGES COPYING CREDITS HACKING \
-		README ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} CHANGES COPYING CREDITS HACKING \
+            README ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130111/d5d66140/attachment.html>


More information about the macports-changes mailing list