# $Id: Portfile,v 1.13 2005/11/27 10:46:31 rhwood Exp $
PortSystem 1.0
name		gedit
version		2.12.1
description	GNOME editor.
long_description        ${description}
maintainers	gnome-darwinports@opendarwin.org rhwood@opendarwin.org
categories	editors
platforms	darwin 
homepage	http://www.gnome.org/projects/gedit/
master_sites    gnome:sources/${name}/2.12/
checksums	sha1 21f82ffd87c6644402856c016a0dd81b153db9be
depends_lib	lib:libgtksourceview-1:gtksourceview lib:eel-2:eel
use_bzip2 	yes
configure.args  --mandir=${prefix}/share/man
configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress -L${prefix}/lib"
post-destroot   { file delete -force ${destroot}${prefix}/var/scrollkeeper }

# gtkspell2 requires testing so for now it remains a variant
variant	spellcheck {
		depends_lib-add	lib:libgtkspell:gtkspell2
}
