# -*- 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                libt3window
version             0.4.1
revision            0

homepage            https://os.ghalkes.nl/

description         \
    The ${name} library provides functions for manipulating the terminal and \
    for creating \(possibly overlapping\) windows on a terminal.

long_description    \
    {*}${description} ${name} can be used instead of \(n\)curses for drawing \
    on the terminal. ${name} provides the following features: \(Overlapping\) \
    windows for drawing\; overlapping windows hide windows deeper in the \
    window stack\; clipping of windows to the size of the parent window\; \
    UTF-8 used internally, which is converted to the terminal encoding before \
    output. ${name} depends on libunistring for UTF-8 processing and \
    libtranscript for character set conversion. It provides easy access to \
    the most needed terminal functionality, and has a small code size.

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

checksums           rmd160  bd2b31b5f14fb92a8e3f8f3396a7f06d54f7098c \
                    sha256  4c14d3f4f946637fd6c3fa23ef7511fa505880946e151406d5e16f645d24e792 \
                    size    96736

depends_build-append \
                    port:libtool \
                    port:pkgconfig

depends_lib-append  port:libtranscript \
                    port:libunistring

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

patchfiles-append   patch-config.pkg.diff

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