PortSystem          1.0

name                luit
version             2.0.20240102
categories          x11
license             X11
platforms           darwin
maintainers         {invisible-island.net:dickey @ThomasDickey} openmaintainer
description         filter that converts legacy encodings to/from UTF-8
long_description    ${name} is a filter that converts terminal I/O \
                    between legacy encodings and UTF-8.

homepage            https://invisible-island.net/${name}/
master_sites        https://invisible-island.net/archives/${name}/current/ \
                    https://invisible-mirror.net/archives/${name}/current/

extract.suffix      .tgz

checksums           rmd160  64072e13ca3f6249ab469dcc36a16c821d4c5380 \
                    sha256  29d5f02ad655a11f010727264f1207fd3a8299254b93f13b68f2a958c00a0771 \
                    size    211146

installs_libs       no
use_parallel_build  yes

depends_build \
	port:pkgconfig

livecheck.type    regex
livecheck.regex   ${name}-(\\d+(?:\\.\\d+)*)
livecheck.url     https://invisible-island.net/archives/luit/current/?C=M&O=D
livecheck.version ${name}-${version}${extract.suffix}
