Portfile

# $Id: Portfile 22955 2007-03-20 08:39:00Z rhwood@macports.org $
PortSystem 1.0
name gtksourceview
version 1.8.5
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 rhwood@macports.org openmaintainer@macports.org
categories gnome
platforms darwin
homepage http://cvs.gnome.org/lxr/source/gtksourceview
master_sites gnome:sources/${name}/1.8/
checksums rmd160 978c59d5f99baeb5d8b9c3c14246ffc48ce150f8

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"

files