# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

name                dlume
version             0.2.4
revision            2
description         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+
homepage            https://www.freebsd.org/cgi/cvsweb.cgi/ports/deskutils/dlume
# https://trac.macports.org/ticket/70180
master_sites        macports_distfiles

checksums           rmd160  3386b690f595bb8f5f7ad9bc18b4912646df6c9e \
                    sha256  66f6c87de866fbac1519721b8eb584c427d89cfa502494a9fe6b035578f7a864 \
                    size    246864

depends_build       path:bin/pkg-config: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
}
