Modified: trunk/dports/gnome/gnome-panel/Portfile (87658 => 87659)
--- 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`&&\