# -*- 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                luit
version             2.0.20260907
categories          x11
license             X11
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  f7e59971320447d711208217b10fddd83cdaee9b \
                    sha256  82e3e9d5a9fd81a1035901b2522250504460a6f84e695546f224999d7270b4ee \
                    size    214111

configure.args-append --with-encodings-dir=${prefix}/share/fonts/encodings/encodings.dir

installs_libs       no

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}
