# -*- 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: Portfile 52120 2009-06-10 17:29:27Z devans@macports.org $

PortSystem 1.0

name            gedit-plugins
version         2.26.2
revision        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}/

checksums       md5     382cdc76fc1d59fcf7625be1b8afaac3 \
                sha1    77e2235107c42153602509ed8d66f4678839c072 \
                rmd160  16f0db139fda5f92dee008e22c2fbd2dc2b19902

use_bzip2       yes

depends_build   \
                port:p5-xml-parser \
                port:gnome-doc-utils

depends_lib     \
                port:gconf \
                port:gedit \
                port:py25-pygtksourceview \
	        port:vte \
                port:gucharmap

configure.args  --disable-schemas-install

configure.python ${prefix}/bin/python2.5

post-activate {
       system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
            gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
}

livecheck.check regex
livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
