# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name gedit-plugins version 3.12.1 revision 1 license GPL-2+ set branch [join [lrange [split ${version} .] 0 1] .] description Plug-ins for GEdit long_description \ Various additional plug-ins for GEdit maintainers nomaintainer categories gnome editors platforms darwin homepage https://wiki.gnome.org/Apps/Gedit master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 f59a728527a9cfd81878bbc44e995f2dd4ff11fb \ sha256 431adb6c8327d755329061f59d9f06e94819e398b7910751bbe46bc96679c67f depends_build port:pkgconfig \ port:intltool \ port:itstool \ port:yelp-tools depends_lib port:gtk3 \ port:gtksourceview3 \ port:libpeas \ port:gedit \ port:vte \ port:libgit2-glib patchfiles patch-configure.ac.diff # update m4/intltool.m4 and autoreconf pre-configure { copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4 } use_autoreconf yes autoreconf.args -fvi configure.args --disable-python \ --disable-schemas-compile variant python32 conflicts python33 python34 description {Use python 3.2} { depends_lib-append port:py32-gobject3 \ port:dbus-python32 configure.python ${prefix}/bin/python3.2 set python_framework ${frameworks_dir}/Python.framework/Versions/3.2 configure.pkg_config_path ${python_framework}/lib/pkgconfig configure.args-replace --disable-python --enable-python } variant python33 conflicts python32 python34 description {Use python 3.3} { depends_lib-append port:py33-gobject3 \ port:dbus-python33 configure.python ${prefix}/bin/python3.3 set python_framework ${frameworks_dir}/Python.framework/Versions/3.3 configure.pkg_config_path ${python_framework}/lib/pkgconfig configure.args-replace --disable-python --enable-python } variant python34 conflicts python32 python33 description {Use python 3.4} { depends_lib-append port:py34-gobject3 configure.python ${prefix}/bin/python3.4 set python_framework ${frameworks_dir}/Python.framework/Versions/3.4 configure.pkg_config_path ${python_framework}/lib/pkgconfig configure.args-replace --disable-python --enable-python } if {![variant_isset python32] && ![variant_isset python34]} { default_variants +python33 } post-activate { system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome