[93118] trunk/dports/python
jmr at macports.org
jmr at macports.org
Tue May 15 09:48:26 PDT 2012
Revision: 93118
https://trac.macports.org/changeset/93118
Author: jmr at macports.org
Date: 2012-05-15 09:48:24 -0700 (Tue, 15 May 2012)
Log Message:
-----------
py*-chm: unify, add py27
Modified Paths:
--------------
trunk/dports/python/py-chm/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-chm/
trunk/dports/python/py26-chm/
Modified: trunk/dports/python/py-chm/Portfile
===================================================================
--- trunk/dports/python/py-chm/Portfile 2012-05-15 15:35:38 UTC (rev 93117)
+++ trunk/dports/python/py-chm/Portfile 2012-05-15 16:48:24 UTC (rev 93118)
@@ -1,13 +1,13 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-chm
version 0.8.4
categories python textproc
platforms darwin
-maintainers nomaintainer
+maintainers jameskyle
description PyCHM is a set of Python bindings for Jed Wing's chmlib.
long_description ${description}
@@ -16,12 +16,16 @@
distname pychm-${version}
checksums sha1 73104f4a351dc1450a16f07680d772817b05442d
-depends_lib-append port:chmlib
+python.versions 24 25 26 27
-build.env CFLAGS=-I${prefix}/include \
+if {$subport != $name} {
+ depends_lib-append port:chmlib
+
+ build.env CFLAGS=-I${prefix}/include \
LDFLAGS=-L${prefix}/lib
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog NEWS README \
- ${destroot}${prefix}/share/doc/${name}
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog NEWS README \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120515/5ca65c4d/attachment.html>
More information about the macports-changes
mailing list