[101608] trunk/dports/python/py-pedal/Portfile
jmr at macports.org
jmr at macports.org
Mon Jan 14 15:27:41 PST 2013
Revision: 101608
https://trac.macports.org/changeset/101608
Author: jmr at macports.org
Date: 2013-01-14 15:27:41 -0800 (Mon, 14 Jan 2013)
Log Message:
-----------
py-pedal: use unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-pedal/Portfile
Modified: trunk/dports/python/py-pedal/Portfile
===================================================================
--- trunk/dports/python/py-pedal/Portfile 2013-01-14 23:21:47 UTC (rev 101607)
+++ trunk/dports/python/py-pedal/Portfile 2013-01-14 23:27:41 UTC (rev 101608)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-pedal
version 2.0.0a7
-categories python
+license LGPL
platforms darwin
+supported_archs noarch
maintainers nomaintainer
description python module for pedigree analysis
long_description PyPedal is a Python language application for pedigree \
@@ -17,16 +18,20 @@
distname PyPedal-${version}
checksums md5 6a5ef43c090c883f7719b8e73444b663
-depends_lib-append port:py24-numeric
+python.versions 24
-post-destroot {
- xinstall -m 644 -W ${worksrcpath}/PyPedal/doc/pypedal about.html \
- contents.html front.html genindex.html index.html \
- module-pypedal.html node1.html node10.html node11.html \
- node12.html node13.html node14.html node15.html node16.html \
- node17.html node18.html node19.html node20.html node21.html \
- node22.html node23.html node24.html node25.html node26.html \
- node27.html node28.html node3.html node4.html node7.html \
- node8.html node9.html pypedal.html \
- ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+ depends_lib-append port:py${python.version}-numeric
+
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath}/PyPedal/doc/pypedal about.html \
+ contents.html front.html genindex.html index.html \
+ module-pypedal.html node1.html node10.html node11.html \
+ node12.html node13.html node14.html node15.html node16.html \
+ node17.html node18.html node19.html node20.html node21.html \
+ node22.html node23.html node24.html node25.html node26.html \
+ node27.html node28.html node3.html node4.html node7.html \
+ node8.html node9.html pypedal.html \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130114/97a2a318/attachment.html>
More information about the macports-changes
mailing list