# -*- 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 2.32.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 2. maintainers nomaintainer categories gnome editors platforms darwin homepage http://www.gnome.org/projects/${name}/ master_sites gnome:sources/${name}/${branch}/ use_bzip2 yes checksums rmd160 a7540bfd57bdc15546eea802c68719ac71f85c10 \ sha256 2ef7bf48e9500556d84ae4c2950f4eadcc3f9cb9c58c90f2c83956b0ddad1107 depends_build port:gnome-doc-utils \ port:intltool \ port:pkgconfig depends_lib port:gconf \ port:gedit \ port:vte \ port:gucharmap configure.args --disable-schemas-install variant python25 conflicts python26 python27 description {Use python 2.5} { configure.python ${prefix}/bin/python2.5 depends_lib-append port:py25-pygtksourceview \ port:dbus-python25 } variant python26 conflicts python25 python27 description {Use python 2.6} { configure.python ${prefix}/bin/python2.6 depends_lib-append port:py26-pygtksourceview \ port:dbus-python26 set python_framework ${frameworks_dir}/Python.framework/Versions/2.6 configure.pkg_config_path ${python_framework}/lib/pkgconfig } variant python27 conflicts python25 python26 description {Use python 2.7} { configure.python ${prefix}/bin/python2.7 depends_lib-append port:py27-pygtksourceview \ port:dbus-python27 set python_framework ${frameworks_dir}/Python.framework/Versions/2.7 configure.pkg_config_path ${python_framework}/lib/pkgconfig } if {![variant_isset python25] && ![variant_isset python26]} { default_variants +python27 } post-activate { system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" } livecheck.type gnome