# $Id: Portfile,v 1.29 2006/03/21 11:25:50 rhwood Exp $
PortSystem 1.0
name		gconf
version		2.14.0
description	GConf is a configuration database system.	
long_description        GConf is a configuration database system, \
			functionally similar to the Windows registry \
			but lots better. :-) It's being written for \
			the GNOME desktop but does not require GNOME.
maintainers	gnome-darwinports@opendarwin.org
categories	gnome
platforms	darwin 
homepage	http://www.gnome.org/projects/gconf/
distname        GConf-${version}
master_sites	gnome:sources/GConf/2.14
checksums	md5 d07c2efcaf477cf34225c604a04b6271 \
		sha1 97784779cbecb1f52e1728647889dd4b48f04f62 \
		rmd160 4e281fc8046238df2056cbb1c1b068dc9663041b

depends_lib	\
		port:gtk2 \
		port:libbonobo

use_bzip2 	yes

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

pre-destroot {
	destroot.keepdirs ${destroot}/${prefix}/etc/gconf/gconf.xml.mandatory ${destroot}/${prefix}/etc/gconf/gconf.xml.defaults
}

platform darwin 7 { configure.env-append       CFLAGS="-DBIND_8_COMPAT=1" }

variant use-sys-deps {
	depends_lib \
		lib:libgtk2:gtk2 \
		lib:libbonobo:libbonobo
}
