# -*- 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                libconfig
conflicts           libconfig-hr
version             0.3.3
categories          devel
maintainers         nomaintainer
license             MIT

description         Configuration file processing library
long_description    Libconfig is a configuration file processing library that \
                    saves you from having to write your own configuration parsers \
                    and routines. It supports callback functions, automatic variable \
                    assignment, and many different configuration file types \
                    such as Apache-like, Windows INI-like, and whitespace separated. \
                    Configuration is processed in a logical manner: global \
                    configuration files, local configuration files, environment \
                    variables, and finally command line options.

homepage            https://www.rkeene.org/oss/libconfig
master_sites        https://www.rkeene.org/files/oss/libconfig/devel/

checksums           rmd160  b90a50d4f944025502cde9ef97f20cc2753ae01b \
                    sha256  ccfc233f1d26674c9aae47c9909e5b7cf2fc1e5bbd1ab2092518e026ab41e17f \
                    size    104044

depends_lib         port:libopennet

configure.args      --mandir=\\\${prefix}/share/man

# error: unknown type name 'lc_err_t'
use_parallel_build  no

destroot.destdir    prefix=${destroot}${prefix}

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
