[100933] trunk/dports/python/py-ssh/Portfile
Revision: 100933 https://trac.macports.org/changeset/100933 Author: jmr@macports.org Date: 2013-01-01 08:39:52 -0800 (Tue, 01 Jan 2013) Log Message: ----------- py-ssh: use unified portgroup, license, noarch Modified Paths: -------------- trunk/dports/python/py-ssh/Portfile Modified: trunk/dports/python/py-ssh/Portfile =================================================================== --- trunk/dports/python/py-ssh/Portfile 2013-01-01 16:30:18 UTC (rev 100932) +++ trunk/dports/python/py-ssh/Portfile 2013-01-01 16:39:52 UTC (rev 100933) @@ -1,12 +1,14 @@ # $Id$ PortSystem 1.0 -PortGroup python24 1.0 +PortGroup python 1.0 name py-ssh version 0.3 categories python net security +license PSF platforms darwin +supported_archs noarch maintainers nomaintainer description python module for programmatically controlling ssh and scp long_description PySSH is a Python library for programmatically \ @@ -19,7 +21,11 @@ worksrcdir pyssh -post-destroot { - xinstall -m 644 -W ${worksrcpath}/docs changes.txt license.txt pyssh.html \ - to_do.txt ${destroot}${prefix}/share/doc/${name} +python.versions 24 + +if {$subport != $name} { + post-destroot { + xinstall -m 644 -W ${worksrcpath}/docs changes.txt license.txt pyssh.html \ + to_do.txt ${destroot}${prefix}/share/doc/${subport} + } }
participants (1)
-
jmr@macports.org