[101314] trunk/dports/python/py-reverend/Portfile
jmr at macports.org
jmr at macports.org
Tue Jan 8 09:48:28 PST 2013
Revision: 101314
https://trac.macports.org/changeset/101314
Author: jmr at macports.org
Date: 2013-01-08 09:48:28 -0800 (Tue, 08 Jan 2013)
Log Message:
-----------
py-reverend: use unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-reverend/Portfile
Modified: trunk/dports/python/py-reverend/Portfile
===================================================================
--- trunk/dports/python/py-reverend/Portfile 2013-01-08 17:14:35 UTC (rev 101313)
+++ trunk/dports/python/py-reverend/Portfile 2013-01-08 17:48:28 UTC (rev 101314)
@@ -1,13 +1,15 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-reverend
version 0.2.4
revision 1
categories python textproc
+license LGPL-2.1
platforms darwin
+supported_archs noarch
maintainers nomaintainer
description Reverend is a general purpose Bayesian classifier.
long_description ${description}
@@ -17,9 +19,13 @@
distname Reverend-${version}
checksums md5 ad257e5471e730dbcd35cd8ada440732
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} README.txt changelog.txt \
- ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath}/examples emailtrainer.py readme.txt \
- ${destroot}${prefix}/share/doc/${name}/examples
+python.versions 24
+
+if {$subport != $name} {
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} README.txt changelog.txt \
+ ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath}/examples emailtrainer.py readme.txt \
+ ${destroot}${prefix}/share/doc/${subport}/examples
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130108/6c8545a8/attachment-0001.html>
More information about the macports-changes
mailing list