# $Id: Portfile,v 1.16 2006/07/17 10:00:39 rhwood Exp $
PortSystem 1.0
name		vte
version		0.13.3
description	Terminal widget with improved accessibility and I18N support.
long_description        Terminal widget with improved font, \
			internationalisation and accessibility support \
			for the GNOME 2 desktop.  Designed to replace libzvt.
maintainers	gnome-darwinports@opendarwin.org
categories	gnome
platforms	darwin 
homepage	http://www.gnome.org/
master_sites    gnome:sources/vte/0.13/
checksums	md5 f61fce149c8f3b4db1bd5cbcec8d664b
depends_lib     lib:gnome-session:gnome-session \
			port:py-gtk2
patchfiles	patch-python_vtemodule.c
use_bzip2 	yes
configure.args	--mandir=${prefix}/share/man --with-ft-prefix=${prefix} \
		--disable-freetypetest \
		--with-ft-include-prefix=${prefix}/include/freetype2 \
		--enable-python
configure.env   CPPFLAGS="-I${prefix}/include -I${prefix}/include/freetype2" \
		CFLAGS="-fstrict-aliasing -funroll-loops" \
		GMSGFMT=${prefix}/bin/msgfmt

platform darwin 6 {    configure.env-append \
                       CPPFLAGS="\$CPPFLAGS -D_WCHAR_T" }
variant without_python {
	depends_lib-delete		port:py-gtk2
	configure.args-delete	--enable-python
	configure.args-append	--disable-python
}
