[80086] trunk/dports/comms/telepathy-mission-control/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Jul 3 17:22:11 PDT 2011


Revision: 80086
          http://trac.macports.org/changeset/80086
Author:   jeremyhu at macports.org
Date:     2011-07-03 17:22:10 -0700 (Sun, 03 Jul 2011)
Log Message:
-----------
telepathy-mission-control: Add variants to choose between python versions (2.5, 2.6, and 2.7)

Modified Paths:
--------------
    trunk/dports/comms/telepathy-mission-control/Portfile

Modified: trunk/dports/comms/telepathy-mission-control/Portfile
===================================================================
--- trunk/dports/comms/telepathy-mission-control/Portfile	2011-07-04 00:18:24 UTC (rev 80085)
+++ trunk/dports/comms/telepathy-mission-control/Portfile	2011-07-04 00:22:10 UTC (rev 80086)
@@ -5,6 +5,7 @@
 
 name            telepathy-mission-control
 version         5.6.1
+revision        1
 categories      comms
 maintainers     devans openmaintainer
 platforms       darwin
@@ -27,13 +28,24 @@
                 port:gtk-doc
 
 depends_lib     port:telepathy-glib \
-                port:libgnome-keyring \
-                port:python26
+                port:libgnome-keyring
 
 patchfiles      patch-configure.diff
 
-configure.python ${prefix}/bin/python2.6
+variant python26 conflicts python27 description {Use python 2.6} {
+    configure.python          ${prefix}/bin/python2.6
+    depends_lib-append        port:python26
+}
 
+variant python27 conflicts python26 description {Use python 2.7} {
+    configure.python          ${prefix}/bin/python2.7
+    depends_lib-append        port:python27
+}
+
+if {![variant_isset python25] && ![variant_isset python26]} {
+    default_variants +python27
+}
+
 configure.args  --enable-gnome-keyring
 
 livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110703/dfd34d86/attachment-0001.html>


More information about the macports-changes mailing list