# -*- 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
# $Id$

PortSystem      1.0

name            libconfig-hr
conflicts       libconfig
version         1.4.9
categories      devel
license         LGPL-2.1+
maintainers     nomaintainer
platforms       darwin
homepage        http://www.hyperrealm.com/libconfig/
master_sites    ${homepage}
distname        libconfig-${version}

checksums       rmd160 ec0f28737fa603379f3b91c2de1857d7b1ae676f \
                sha256 09c8979252e60193e2969e9b0e1cd597f7820087867989b2f0939ad164473041

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

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