[59378] trunk/dports/python

stromnov at macports.org stromnov at macports.org
Wed Oct 14 02:01:15 PDT 2009


Revision: 59378
          http://trac.macports.org/changeset/59378
Author:   stromnov at macports.org
Date:     2009-10-14 02:01:13 -0700 (Wed, 14 Oct 2009)
Log Message:
-----------
New port - py26-omniORBpy

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

Added Paths:
-----------
    trunk/dports/python/py26-omniORBpy/

Modified: trunk/dports/python/py26-omniORBpy/Portfile
===================================================================
--- trunk/dports/python/py-omniORBpy/Portfile	2009-10-14 06:58:54 UTC (rev 59373)
+++ trunk/dports/python/py26-omniORBpy/Portfile	2009-10-14 09:01:13 UTC (rev 59378)
@@ -3,7 +3,7 @@
 
 PortSystem          1.0
 
-name                py-omniORBpy
+name                py26-omniORBpy
 version             3.4
 categories          python devel
 maintainers         stromnov openmaintainer
@@ -20,28 +20,19 @@
                     sha1    e598bd25289d0a2a09da4c7241513202c8b9adb4 \
                     rmd160  5b389a31907510800ef0913e2e3855038e6a4cf9
 
-depends_lib         port:omniORB
+configure.python    ${prefix}/bin/python2.6
+
+depends_lib         port:omniORB \
+                    port:python26
+
 patchfiles          patch-dir.mk
 
 post-patch {
     reinplace "s|,prefix=\'\$PYTHON_PREFIX\'||g" ${worksrcpath}/configure
-    reinplace "s|,prefix=\'\$PYTHON_EXEC_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      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/0af3d783/attachment.html>


More information about the macports-changes mailing list