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

checksums       rmd160 01d5defed51040fccb94a134728fa0d783c25542 \
                sha256 545166d6cac037744381d1e9cc5a5405094e7bfad16a411699bcff40bbb31ee7 \
                size   730800

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}<"
