# -*- 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 version 2.30.4 revision 7 license GPL-2 set branch [join [lrange [split ${version} .] 0 1] .] description GNOME editor. long_description \ ${description} maintainers devans openmaintainer categories gnome editors platforms darwin homepage http://www.gnome.org/projects/gedit/ master_sites gnome:sources/${name}/${branch}/ checksums md5 e1eecb0a92a1a363b3d375ec5ac0fb3b \ sha1 ff7f4088d0b89224b84406557a7d9970323fdcc3 \ rmd160 b2659b8847ef02c66a70acd2f4a492555e1e4d21 depends_build port:gtk-doc \ port:intltool \ port:gnome-doc-utils \ port:pkgconfig depends_lib port:desktop-file-utils \ port:gconf \ port:iso-codes \ port:enchant \ port:xorg-libsm \ port:rarian depends_run port:gnome-settings-daemon \ port:yelp use_bzip2 yes patchfiles patch-configure.diff configure.args --mandir=${prefix}/share/man \ --disable-scrollkeeper \ --disable-schemas-install \ --disable-gvfs-metadata \ --disable-updater variant python25 conflicts python26 python27 description {Use python 2.5} { configure.python ${prefix}/bin/python2.5 depends_lib-append port:py25-pygtksourceview } variant python26 conflicts python25 python27 description {Use python 2.6} { configure.python ${prefix}/bin/python2.6 depends_lib-append port:py26-pygtksourceview 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 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 "${prefix}/bin/scrollkeeper-update" system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" } livecheck.type gnome