[87659] trunk/dports/gnome/gnome-panel/Portfile

devans at macports.org devans at macports.org
Wed Nov 30 16:25:46 PST 2011


Revision: 87659
          http://trac.macports.org/changeset/87659
Author:   devans at macports.org
Date:     2011-11-30 16:25:46 -0800 (Wed, 30 Nov 2011)
Log Message:
-----------
gnome-panel: add +python2[567] variants, default +python27, increment revision.

Modified Paths:
--------------
    trunk/dports/gnome/gnome-panel/Portfile

Modified: trunk/dports/gnome/gnome-panel/Portfile
===================================================================
--- trunk/dports/gnome/gnome-panel/Portfile	2011-12-01 00:21:49 UTC (rev 87658)
+++ trunk/dports/gnome/gnome-panel/Portfile	2011-12-01 00:25:46 UTC (rev 87659)
@@ -4,7 +4,7 @@
 
 name            gnome-panel
 version         2.30.2
-revision        2
+revision        3
 set branch      [join [lrange [split ${version} .] 0 1] .]
 maintainers     devans openmaintainer
 categories      gnome
@@ -27,8 +27,7 @@
                 port:intltool \
                 port:gnome-doc-utils \
                 port:gtk-doc \
-                port:shared-mime-info \
-                port:python26
+                port:shared-mime-info
 
 depends_lib     port:gnome-desktop \
                 port:gnome-menus \
@@ -40,8 +39,6 @@
                 port:libwnck
 
 patchfiles      patch-configure.diff
-
-configure.python ${prefix}/bin/python2.6
  
 configure.args  --x-includes=${prefix}/include \
                 --x-libraries=${prefix}/lib \
@@ -56,6 +53,25 @@
 
 universal_variant no
 
+variant python25 conflicts python26 python27 description {Build using Python 2.5} {
+    configure.python          ${prefix}/bin/python2.5
+    depends_build-append      port:python25
+}
+
+variant python26 conflicts python25 python27 description {Build using Python 2.6} {
+    configure.python          ${prefix}/bin/python2.6
+    depends_build-append      port:python26
+}
+
+variant python27 conflicts python25 python26 description {Build using Python 2.7} {
+    configure.python          ${prefix}/bin/python2.7
+    depends_build-append      port:python27
+}
+
+if {![variant_isset python25] && ![variant_isset python26]} {
+    default_variants +python27
+}
+
 post-activate {
     system " \
     export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`&&\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111130/97ad76d7/attachment.html>


More information about the macports-changes mailing list