# -*- 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           cmake 1.1
PortGroup           github 1.0

# When updating this port, make sure to update tvision as well.
github.setup        magiblot tvterm 8d1291377230532b3a5cfbf3d4f0e1a9a24f66b3
version             2025.11.01
revision            0
categories          sysutils
license             MIT
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
description         Terminal emulator that runs in your terminal
long_description    {*}${description}. Powered by Turbo Vision.
checksums           rmd160  f14eebae8b972b1f0fd169a267297255f47f69f1 \
                    sha256  33faf69fb16b3e76e05dcd2dd711cff779997af924a1ce29517194ea4d5f2339 \
                    size    26377
github.tarball_from archive

depends_lib-append  port:libvterm \
                    port:ncurses \
                    port:tvision

compiler.cxx_standard 2017

configure.args-append \
                    -DTVTERM_BUILD_APP=ON \
                    -DTVTERM_OPTIMIZE_BUILD=OFF \
                    -DTVTERM_USE_SYSTEM_LIBVTERM=ON \
                    -DTVTERM_USE_SYSTEM_TVISION=ON
