[59351] trunk/dports/python/py-omniORBpy/Portfile
stromnov at macports.org
stromnov at macports.org
Tue Oct 13 13:50:55 PDT 2009
Revision: 59351
http://trac.macports.org/changeset/59351
Author: stromnov at macports.org
Date: 2009-10-13 13:50:51 -0700 (Tue, 13 Oct 2009)
Log Message:
-----------
update to version 3.4 (also closes #16763), take maintainership openmaintainer, ensure installation in python framework, add python25 and python26 variants
Modified Paths:
--------------
trunk/dports/python/py-omniORBpy/Portfile
Modified: trunk/dports/python/py-omniORBpy/Portfile
===================================================================
--- trunk/dports/python/py-omniORBpy/Portfile 2009-10-13 20:37:14 UTC (rev 59350)
+++ trunk/dports/python/py-omniORBpy/Portfile 2009-10-13 20:50:51 UTC (rev 59351)
@@ -1,11 +1,11 @@
# $Id$
PortSystem 1.0
name py-omniORBpy
-version 3.0
+version 3.4
categories python devel
platforms darwin
-maintainers nomaintainer
+maintainers stromnov openmaintainer
description Python binding for omniORB
long_description omniORB is a robust high performance CORBA ORB for C++ and \
Python. omniORB is largely CORBA 2.6 compliant.
@@ -13,12 +13,33 @@
distname omniORBpy-${version}
master_sites sourceforge:omniorb
-checksums md5 3914979dd6e36e4124033ac094cf8f17
+checksums md5 d054e99c89c20f86927c52010e9e7449 \
+ sha1 e598bd25289d0a2a09da4c7241513202c8b9adb4 \
+ rmd160 5b389a31907510800ef0913e2e3855038e6a4cf9
depends_lib port:omniORB
patchfiles patch-dir.mk
-variant ssl {
+post-patch {
+ reinplace "s|,prefix=\'\$PYTHON_PREFIX\'||g" ${worksrcpath}/configure
+ reinplace "s|,prefix=\'\$PYTHON_EXEC_PREFIX\'||g" ${worksrcpath}/configure
+}
+
+variant ssl description {Enable SSL support} {
configure.args-append --with-openssl
- depends_lib-append lib:libssl:openssl
+ depends_lib-append port:openssl
}
+
+if {![variant_isset python25] && ![variant_isset python26]} {
+ default_variants +python25
+}
+
+variant python25 description {Enable python support with python 2.5} {
+ depends_lib-append port:python25
+ configure.python ${prefix}/bin/python2.5
+}
+
+variant python26 description {Enable python support with python 2.6} {
+ depends_lib-append port:python26
+ configure.python ${prefix}/bin/python2.6
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091013/1aa3b1d5/attachment-0001.html>
More information about the macports-changes
mailing list