[77564] trunk/dports/gnome/vte/Portfile

rmstonecipher at macports.org rmstonecipher at macports.org
Sun Apr 3 20:28:16 PDT 2011


Revision: 77564
          http://trac.macports.org/changeset/77564
Author:   rmstonecipher at macports.org
Date:     2011-04-03 20:28:15 -0700 (Sun, 03 Apr 2011)
Log Message:
-----------
gnome/vte upgraded version from 0.25.1 to 0.27.90, added python27 (default) and python26 variants rather than depending upon python26

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

Modified: trunk/dports/gnome/vte/Portfile
===================================================================
--- trunk/dports/gnome/vte/Portfile	2011-04-04 02:35:13 UTC (rev 77563)
+++ trunk/dports/gnome/vte/Portfile	2011-04-04 03:28:15 UTC (rev 77564)
@@ -4,8 +4,7 @@
 PortSystem      1.0
 
 name            vte
-version         0.25.1
-revision        3
+version         0.27.90
 set branch      [join [lrange [split $version .] 0 1] .]
 maintainers     nomaintainer
 categories      gnome
@@ -21,28 +20,43 @@
 master_sites    gnome:sources/$name/$branch/
 use_bzip2       yes
 
-checksums       md5     986bdf8f4e25bdb30615b69b26289909 \
-                sha1    818130a91bc205c3165aa380dae43d12b733a406 \
-                rmd160  cfb094f4055dd98e3cfd6053efa2119034c81295
+checksums           md5     b5398f8a43cd60c28994285897e45562 \
+                    sha1    000d66bf46cd9f5a195518e96d04a943b0cd32b3 \
+                    rmd160  e5c824f83a470fa1084a08393adc79706337f286
 
-depends_lib     port:py26-gtk
-
 depends_build   port:intltool \
                 port:pkgconfig
 
 patchfiles      patch-configure.diff
 
-configure.args  --disable-introspection
+configure.args-append  --disable-introspection --disable-Bsymbolic
 
-configure.python            ${prefix}/bin/python2.6
-set python_prefix           ${frameworks_dir}/Python.framework/Versions/2.6
-configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
-configure.env               PATH=${python_prefix}/bin:$env(PATH)
-
 configure.cflags-append -fstrict-aliasing
 
+# default to python27 bindings
+if {![variant_isset python27] && ![variant_isset python26] && ![variant_isset without_python]} {
+    default_variants +python27
+}
+
+variant python27 conflicts python26 \
+description {Build Bindings for Python 2.7} {
+    set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
+    depends_lib-append port:py27-gtk
+    configure.python ${prefix}/bin/python2.7
+    configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
+    configure.env               PATH=${python_prefix}/bin:$env(PATH)
+}
+
+variant python26 conflicts python27 \
+description {Build Bindings for Python 2.6} {
+    set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6
+    depends_lib-append port:py26-gtk
+    configure.python ${prefix}/bin/python2.6
+    configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
+    configure.env               PATH=${python_prefix}/bin:$env(PATH)
+}
+
 variant without_python description {Disable Python support} {
-    depends_lib-delete  port:py26-gtk
     configure.args-append   --disable-python
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110403/7358e9e4/attachment.html>


More information about the macports-changes mailing list