# $Id: Portfile,v 1.2 2005/09/13 06:57:54 olegb Exp $
PortSystem 1.0
name		dlume
version		0.2.4
description	A gtk2-based addressbook.
long_description	Dlume is nice, gtk2-based addressbook. You \
			can easily add, edit and delete records to/from \
			database (but Dlume doesn't rely on an outside \
			database - It stores your contacts in XML format).
maintainers	darwinports@opendarwin.org
categories	x11 databases
platforms	darwin 
homepage	http://clay.ll.pl/projects.html
master_sites	http://clay.ll.pl/download/
checksums	md5 6b2a3ef0eff622a412395187d1c5d178
depends_lib	lib:gtk.2:gtk2 lib:libxml2:libxml2
configure.args	--mandir=${prefix}/share/man 
configure.env   CPPFLAGS="-I${prefix}/include -L${prefix}/lib" \
                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" 

post-configure {
		reinplace "s|-export-dynamic||g" ${worksrcpath}/Makefile
		reinplace "s|-export-dynamic||g" ${worksrcpath}/src/Makefile
}
