# $Id$

PortSystem              1.0
PortGroup               github 1.0

github.setup            martinh libconfuse 3.0 v
categories              devel
license                 ISC
platforms               darwin
maintainers             nomaintainer
description             libConfuse is a configuration file parser library
long_description        ${description}

homepage                http://www.nongnu.org/confuse/
github.tarball_from     releases
distname                confuse-${version}
use_xz                  yes

checksums               rmd160  5af6681f3ab8a4f05a54c33be9c75419625ef425 \
                        sha256  bb75174e02aa8b44fa1a872a47beeea1f5fe715ab669694c97803eb6127cc861

depends_build           port:pkgconfig

configure.args          --disable-rpath

post-destroot {
    xinstall -m 644 -W ${worksrcpath}/doc/man/man3 \
        cfg_opt_t.3 \
        cfg_t.3 \
        cfg_value_t.3 \
        confuse.h.3 \
        ${destroot}${prefix}/share/man/man3
}