Revision: 147479 https://trac.macports.org/changeset/147479 Author: devans@macports.org Date: 2016-04-05 05:26:10 -0700 (Tue, 05 Apr 2016) Log Message: ----------- glade: update to version 3.20.0, add variants +python34 +python35, default +python34, use gnome stable livecheck. Modified Paths: -------------- trunk/dports/devel/glade/Portfile Property Changed: ---------------- trunk/dports/devel/glade/ Property changes on: trunk/dports/devel/glade ___________________________________________________________________ Modified: svn:mergeinfo - /users/devans/GNOME-3/stable/dports/devel/glade:118273-140741 /users/devans/GNOME-3/unstable/dports/devel/glade:137534-140634 + /users/devans/GNOME-3/stable/dports/devel/glade:118273-147478 /users/devans/GNOME-3/unstable/dports/devel/glade:137534-140634 Modified: trunk/dports/devel/glade/Portfile =================================================================== --- trunk/dports/devel/glade/Portfile 2016-04-05 12:24:52 UTC (rev 147478) +++ trunk/dports/devel/glade/Portfile 2016-04-05 12:26:10 UTC (rev 147479) @@ -6,7 +6,7 @@ PortGroup active_variants 1.1 name glade -version 3.19.0 +version 3.20.0 license LGPL-2+ GPL-2+ set branch [join [lrange [split ${version} .] 0 1] .] description Glade is a RAD tool to enable quick & easy development of user interfaces \ @@ -20,8 +20,8 @@ use_xz yes -checksums rmd160 8ce58e9cbdd9f5948ba9ea94256d2f014834c2c7 \ - sha256 a7a3f6d32fbfcc9b754b48a3410bf025e462bc7898e124f0ad8f64c3d7ad6fa2 +checksums rmd160 41f49e78492e52f9a5f51c3a8d0aecadb147796d \ + sha256 82d96dca5dec40ee34e2f41d49c13b4ea50da8f32a3a49ca2da802ff14dc18fe depends_skip_archcheck devhelp @@ -63,16 +63,40 @@ configure.cflags-append \ -Wno-format-nonliteral -variant python27 description {Build Python 2.7 widgets support} { +variant python27 conflicts python34 python35 description {Build Python 2.7 widgets support} { configure.args-replace --disable-python --enable-python configure.python ${prefix}/bin/python2.7 + set python_framework ${frameworks_dir}/Python.framework/Versions/2.7 + configure.env-append PYTHON_LIBS=-lpython2.7 \ + PYTHON_LIB_LOC=${prefix}/lib depends_lib-append port:py27-gobject3 - set python_framework ${frameworks_dir}/Python.framework/Versions/2.7 configure.pkg_config_path ${python_framework}/lib/pkgconfig } -default_variants +python27 +variant python34 conflicts python27 python35 description {Build Python 3.4 widgets support} { + configure.args-replace --disable-python --enable-python + configure.python ${prefix}/bin/python3.4 + set python_framework ${frameworks_dir}/Python.framework/Versions/3.4 + configure.env-append PYTHON_LIBS="-L${python_framework}/lib -lpython3.4" \ + PYTHON_LIB_LOC=${python_framework}/lib + depends_lib-append port:py34-gobject3 + configure.pkg_config_path ${python_framework}/lib/pkgconfig +} +variant python35 conflicts python27 python34 description {Build Python 3.5 widgets support} { + configure.args-replace --disable-python --enable-python + configure.python ${prefix}/bin/python3.5 + set python_framework ${frameworks_dir}/Python.framework/Versions/3.5 + configure.env-append PYTHON_LIBS="-L${python_framework}/lib -lpython3.5" \ + PYTHON_LIB_LOC=${python_framework}/lib + depends_lib-append port:py35-gobject3 + configure.pkg_config_path ${python_framework}/lib/pkgconfig +} + +if {![variant_isset python27] && ![variant_isset python35]} { + default_variants +python34 +} + post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" @@ -99,4 +123,4 @@ default_variants +x11 } -livecheck.type gnome-with-unstable +livecheck.type gnome