# -*- 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-hr
conflicts       libconfig
version         1.8.2
revision        0
categories      devel
license         LGPL-2.1+
maintainers     nomaintainer
homepage        https://hyperrealm.github.io/libconfig/
master_sites    ${homepage}/dist
distname        libconfig-${version}

checksums       rmd160 37a41dfa15b4da18280319568696f96d5c38e647 \
                sha256 e59ffb902dd5731d5d4e4fb81d3b989697615feab72dfd7c30618167b91a42ee \
                size   806445

description \
    A new libconfig implementation with both C and C++ bindings.

long_description \
    A new libconfig implementation with both C and C++ bindings, a \
    completely new API, pkg-config support and superior documentation.

# internal flags aren't placed first in tests/Makefile
# luckily there are no deps, so the following suffices to avoid picking up an
# installed version (ticket #28714)
configure.cppflags
configure.ldflags

configure.args  --disable-silent-rules

# Teach libtool to use -stdlib when linking.
use_autoreconf  yes

livecheck.type  regex
livecheck.regex ">libconfig-(\\d+(?:\\.\\d+)*)${extract.suffix}<"
