# -*- 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.19 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 aa5a9f809ae8d0243bcfde4b1ba72374d951e336 \ sha256 0384a1bd832a2688528b31af3dfecca36e94c8194a0207d871bf4e1a57e69b0a \ size 359672 # https://codeberg.org/jengelh/libhx/commit/9d74019379d4626bc03fc50a47b394f83041979a # https://codeberg.org/jengelh/libhx/commit/c540867c09dbdcc68e168d3cf6a6cdc1347e32de patchfiles-append 0001-rand.c-fix-headers-for-macOS.patch \ 0002-build-resolve-compile-error-on-NetBSD.patch livecheck.regex /libHX-(\[0-9.\]+)${extract.suffix}