# -*- 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                td_lib
version             20250928
revision            1
categories          devel
license             MIT
maintainers         {makr @mohd-akram} openmaintainer

description         Helper library for Thomas Dickey tools
long_description    {*}${description}

homepage            https://invisible-island.net/ded/
master_sites        https://invisible-island.net/archives/ded/
extract.suffix      .tgz

checksums           rmd160  a8c59df89f2ab74c44582d2fb1f3eb93b0982214 \
                    sha256  8854186a30eb4fd842397f54afe9309bfa53607bf60a9cf8e0b2a6b7231a35a3 \
                    size    494171

depends_build       port:ncurses

# issues with updating libtd.a archive in parallel
use_parallel_build  no

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