[147314] users/devans/GNOME-3/stable/dports/gnome/gedit-plugins/Portfile
Revision: 147314 https://trac.macports.org/changeset/147314 Author: devans@macports.org Date: 2016-04-01 14:35:43 -0700 (Fri, 01 Apr 2016) Log Message: ----------- GNOME-3/stable: gedit-plugins, update to version 3.20.0, disable silent rules, add +python35 variant, default +python34. Modified Paths: -------------- users/devans/GNOME-3/stable/dports/gnome/gedit-plugins/Portfile Modified: users/devans/GNOME-3/stable/dports/gnome/gedit-plugins/Portfile =================================================================== --- users/devans/GNOME-3/stable/dports/gnome/gedit-plugins/Portfile 2016-04-01 21:34:07 UTC (rev 147313) +++ users/devans/GNOME-3/stable/dports/gnome/gedit-plugins/Portfile 2016-04-01 21:35:43 UTC (rev 147314) @@ -4,7 +4,7 @@ PortSystem 1.0 name gedit-plugins -version 3.18.0 +version 3.20.0 license GPL-2+ set branch [join [lrange [split ${version} .] 0 1] .] description Plug-ins for GEdit @@ -17,8 +17,8 @@ use_xz yes -checksums rmd160 5f33c7560d688b70e4ce71d2f2594461337a6809 \ - sha256 e25249c0c2a057827bb4d4755a2359e1f9b4de288e0c4e201c6ef4f0e0e8c580 +checksums rmd160 1ecfcfe5689a8d8a1aa0edaf5e7b75499b7426fc \ + sha256 d4902af5f9f728e0d692ca8c2f7a9f88f6c2ab8c9be037238ffb7d3aebe757bf depends_build port:pkgconfig \ port:intltool \ @@ -44,9 +44,10 @@ configure.cmd ./autogen.sh configure.args --disable-python \ + --disable-silent-rules \ --disable-schemas-compile -variant python34 conflicts description {Use python 3.4} { +variant python34 conflicts python35 description {Use python 3.4} { depends_lib-append port:py34-gobject3 \ port:dbus-python34 @@ -56,8 +57,20 @@ configure.args-replace --disable-python --enable-python } -default_variants +python34 +variant python35 conflicts python34 description {Use python 3.5} { + depends_lib-append port:py35-gobject3 \ + port:dbus-python35 + configure.python ${prefix}/bin/python3.5 + set python_framework ${frameworks_dir}/Python.framework/Versions/3.5 + configure.pkg_config_path ${python_framework}/lib/pkgconfig + configure.args-replace --disable-python --enable-python +} + +if {![variant_isset python35]} { + default_variants +python34 +} + post-activate { system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" }
participants (1)
-
devans@macports.org