# $Id: Portfile,v 1.11 2006/04/28 10:21:42 rhwood Exp $
PortSystem 1.0
name		gtksourceview
version		1.6.1
description	GtkSourceView is a text widget
long_description        GtkSourceView is a text widget that extends the standard \
			gtk+ 2.x text widget GtkTextView. It improves GtkTextView \
			by implementing syntax highlighting and other features \
			typical of a source editor.
maintainers	gnome-darwinports@opendarwin.org
categories	gnome
platforms	darwin 
homepage	http://cvs.gnome.org/lxr/source/gtksourceview
master_sites    gnome:sources/${name}/1.6/
checksums	rmd160 c5bbca1abf5cf5ec463f92a42d1ba619c052d56c

depends_lib \
	lib:libXft.2.1.2:Xft2 port:freetype port:fontconfig port:tiff \
        lib:libatk-1.0:atk bin:gconftool-2:gconf lib:libgettextlib:gettext \
        lib:libglib-2.0:glib2 lib:libgnomevfs-2:gnome-vfs lib:libgtk-x11-2.0:gtk2 \
        lib:libgnomecanvas-2:libgnomecanvas lib:libart_lgpl_2:libart_lgpl \
        lib:libbonobo-2:libbonobo port:zlib bin:orbit-idl-2:orbit2 port:libxml2 \
        lib:libpangoft2-1.0:pango lib:libgnomeprintui:libgnomeprintui port:gnuregex \
	port:xrender lib:libexpat:expat lib:libiconv:libiconv lib:libpng:libpng \
	port:popt lib:libjpeg:jpeg lib:libgnomeprint-2-2:libgnomeprint \
	lib:libcairo:cairo

use_bzip2 	yes

patchfiles	patch_gtksourceregex.c

configure.args  --mandir=${prefix}/share/man --enable-gnuregex
configure.env	CPPFLAGS="-I${prefix}/include -L${prefix}/lib" 
