# -*- 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
PortGroup               github 1.0

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

github.tarball_from     releases
distname                confuse-${version}
use_xz                  yes

checksums               rmd160  6e697de3ff92e3c5138baddb9f94b360957f828f \
                        sha256  1dd50a0320e135a55025b23fcdbb3f0a81913b6d0b0a9df8cc2fdf3b3dc67010 \
                        size    485140

depends_build           port:pkgconfig

configure.args          --disable-rpath

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