# -*- 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
PortGroup           legacysupport 1.1

legacysupport.newest_darwin_requires_legacy 15

name                libhx
version             4.24
categories          devel
license             {LGPL-2.1 LGPL-3}
maintainers         nomaintainer

description         common structures and low-level operations library

long_description    libHX is a C library (with some C++ bindings \
                    available) that provides data structures \
                    and functions commonly needed, such as \
                    maps, deques, linked lists, string \
                    formatting and autoresizing, option and \
                    config file parsing, type checking casts \
                    and more. libHX aids in quickly writing \
                    up C and C++ data processing programs, by \
                    consolidating tasks that often happen to be \
                    open-coded, such as (simple) config file \
                    reading, option parsing, directory traversal, \
                    and others, into a library. The focus is on \
                    reducing the amount of time (and secondarily, \
                    the amount of code) a developer has to spend \
                    for otherwise implementing such.

homepage            https://inai.de/projects/libhx
master_sites        https://inai.de/files/libhx/
distname            libHX-${version}
use_xz              yes

checksums           rmd160  5e3a16920b63e81d7e64e8bfd6b2e77e6170ebd7 \
                    sha256  760018915add802df416acdb5e2a3911139d44ca29e3bfc783d5aff1990db6a0 \
                    size    360816

livecheck.regex     /libHX-(\[0-9.\]+)${extract.suffix}