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
license		GPL-2+
platforms	darwin
homepage	http://clay.ll.pl/projects.html
master_sites	http://clay.ll.pl/download/ \
                https://www.mirrorservice.org/sites/distfiles.finkmirrors.net/md5/6b2a3ef0eff622a412395187d1c5d178/
checksums	md5 6b2a3ef0eff622a412395187d1c5d178

use_parallel_build yes

depends_build \
	port:pkgconfig
depends_lib \
	path:lib/pkgconfig/gtk+-2.0.pc:gtk2 \
	port:libxml2

configure.args	--mandir=${prefix}/share/man
configure.cppflags-append	"-L${prefix}/lib"

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