# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 51072 2009-05-17 11:27:11Z devans@macports.org $

PortSystem      1.0

name		    gtksourceview2
set my_name     gtksourceview
version		    2.6.2
set branch      [join [lrange [split ${version} .] 0 1] .]
maintainers	    nomaintainer
categories	    gnome
platforms	    darwin 
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. This port contains version 2 of the \
	GtkSourceView widget. Port GtkSourceView contains version 1 of the \
	widget.

homepage	    http://svn.gnome.org/viewvc/gtksourceview/
master_sites    gnome:sources/${my_name}/${branch}/
distname	    ${my_name}-${version}
use_bzip2 	    yes

checksums       md5     5f94a7c9e31f81b4a1780a3a83df6413 \
                sha1    728a3b09a0d9d12f40f958f68713223ad1da9623 \
                rmd160  8619b8518057595e656547d67ac3f4fc38da12ba

depends_build   port:intltool \
	        port:pkgconfig

depends_lib     port:gtk2 \
                port:libxml2

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