# -*- 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                termdebug
version             2.2
revision            0

homepage            https://os.ghalkes.nl/

description         \
    Termdebug is a set of utilities to record and replay the input and output \
    of terminal programs

long_description    \
    {*}${description} Its main goal is to aid in developing and debugging \
    terminal programs. Other programs such as termrec/termplay, \
    nethack-recorder\/player and script\/scriptreplay only record the output. \
    However, when debugging an interactive terminal program, the input is \
    often as important as the output.

categories          sysutils
installs_libs       no
license             GPL-3
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  d8a50687cbe6f8f434844381790fcc1cc7846e24 \
                    sha256  06bd95bb6eeb1581bc4fbadc0111500f1d016ca0ba34c21ddf39b78857de5969 \
                    size    148192

depends_build-append \
                    port:libtool \
                    path:bin/pkg-config:pkgconfig

depends_lib-append  path:lib/pkgconfig/cairo.pc:cairo \
                    port:ncurses \
                    path:lib/pkgconfig/pango.pc:pango \
                    port:libunistring

master_sites        ${homepage}/dist/
distname            ${name}-${version}
use_bzip2           yes

configure.env-append \
                    LIBTOOL=${prefix}/bin/glibtool
configure.args-append \
                    --without-gettext
