# $Id: Portfile 43282 2008-12-08 06:30:32Z jeremyhu@macports.org $
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	nomaintainer
categories	x11 databases
platforms	darwin 
homepage	http://clay.ll.pl/projects.html
master_sites	http://clay.ll.pl/download/ \
                http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/md5/6b2a3ef0eff622a412395187d1c5d178/
checksums	md5 6b2a3ef0eff622a412395187d1c5d178

use_parallel_build yes

depends_lib \
	port:gtk2 \
	port:libxml2

configure.args	--mandir=${prefix}/share/man 
configure.cppflags-append	"-L${prefix}/lib"
configure.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
}
