# -*- 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 PortGroup compiler_blacklist_versions 1.0 name gedit-plugins version 3.22.0 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 ead18c5c45c70af41a9c5cea5b6cee40a8ea8596 \ sha256 83a73088de73478841b9a216bd89c2e478aa302b3579a2a8685893d7a6a48fdc depends_build port:pkgconfig \ port:intltool \ port:itstool \ port:yelp-tools \ port:autoconf \ port:automake \ port:libtool depends_lib port:gtk3 \ port:gtksourceview3 \ port:libpeas \ port:gedit \ port:vte \ port:libgit2-glib \ port:zeitgeist patchfiles patch-autogen.sh.diff \ patch-configure.ac.diff # reconfigure using upstream autogen.sh for intltool 0.51 compatibility configure.cmd ./autogen.sh # blacklist compilers that do not support C11 (redefinition of typedef ‘GtkSourceTag’ at gtksourceview/gtksourcetag.h:35) compiler.blacklist *gcc* {clang < 300} configure.args --disable-python \ --disable-silent-rules \ --disable-schemas-compile variant python34 conflicts python35 description {Use python 3.4} { depends_lib-append port:py34-gobject3 \ port:dbus-python34 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 } 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" } livecheck.type gnome