[59381] trunk/dports/python/py-omniORBpy/Portfile

stromnov at macports.org stromnov at macports.org
Wed Oct 14 02:34:17 PDT 2009


Revision: 59381
          http://trac.macports.org/changeset/59381
Author:   stromnov at macports.org
Date:     2009-10-14 02:34:14 -0700 (Wed, 14 Oct 2009)
Log Message:
-----------
converted to python24 variant

Modified Paths:
--------------
    trunk/dports/python/py-omniORBpy/Portfile

Modified: trunk/dports/python/py-omniORBpy/Portfile
===================================================================
--- trunk/dports/python/py-omniORBpy/Portfile	2009-10-14 09:18:03 UTC (rev 59380)
+++ trunk/dports/python/py-omniORBpy/Portfile	2009-10-14 09:34:14 UTC (rev 59381)
@@ -20,28 +20,14 @@
                     sha1    e598bd25289d0a2a09da4c7241513202c8b9adb4 \
                     rmd160  5b389a31907510800ef0913e2e3855038e6a4cf9
 
-depends_lib         port:omniORB
-patchfiles          patch-dir.mk
+configure.python    ${prefix}/bin/python2.4
 
-post-patch {
-    reinplace "s|,prefix=\'\$PYTHON_PREFIX\'||g" ${worksrcpath}/configure
-    reinplace "s|,prefix=\'\$PYTHON_EXEC_PREFIX\'||g" ${worksrcpath}/configure}
+depends_lib         port:omniORB \
+                    port:python24
 
+patchfiles          patch-dir.mk
+
 variant ssl description {Enable SSL support} {
     configure.args-append   --with-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/20091014/e56f5f0a/attachment.html>


More information about the macports-changes mailing list