# $Id: Portfile 51671 2009-05-31 07:04:58Z blb@macports.org $

PortSystem              1.0

name                    libconfuse
version                 2.6
categories              devel
platforms               darwin
maintainers             nomaintainer
description             libConfuse is a configuration file parser library
long_description        ${description}

homepage                http://www.nongnu.org/confuse/
master_sites            http://savannah.nongnu.org/download/confuse/ \
                        http://bzero.se/confuse/
distname                confuse-${version}
checksums               md5 0e883d66f0f58fc33585b430c652aa30

depends_build           path:bin/pkg-config:pkgconfig

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
}
