# $Id: Portfile,v 1.20 2006/07/15 10:03:47 rhwood Exp $
PortSystem 1.0
name		libgnomecanvas
version		2.14.0
revision	1
description	A graphics library for GNOME.
long_description        The GNOMECanvas library provides a number \
			of features: \
        		Image loading facilities. Rendering of a \
			GdkPixBuf into various formats: drawables \
			(windows, pixmaps), GdkRGB buffers. \
			A cache interface.
maintainers	gnome-darwinports@opendarwin.org
categories	gnome
platforms	darwin 
homepage	http://www.gnome.org/
master_sites    gnome:sources/${name}/2.14/

checksums	rmd160 5d511f65c8860032e2b88bf11bd997920ba6ba7b

depends_lib \
	port:libart_lgpl \
	port:libglade2

use_bzip2 	yes

configure.args  --mandir=${prefix}/share/man
configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
		CFLAGS="-O1" \
		LDFLAGS="-L${prefix}/lib"

variant use-sys-deps {
	depends_lib \
        	lib:libart_lgpl_2:libart_lgpl \
		lib:libglade-2.0:libglade2
}
