# -*- 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                libt3key
version             0.2.10
revision            0

homepage            https://os.ghalkes.nl/

description         \
    The ${name} library provides functions for retrieving the character \
    sequences used by terminals to represent keys pressed by the user.

long_description    \
    {*}${description} Although the terminfo database provides part of this \
    information, it lacks information for the sequences returned by modern \
    terminals\/terminal emulators for many combinations of modifiers with \
    other keys. For example, many terminal emulators provide separate \
    character sequences for Control combined with the cursor keys, which is \
    not stored in the terminfo database. Many programs contain their own \
    databases with this information. This library tries to be a database \
    usable by many programs, such that all programs can benefit from the \
    information collected.

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

checksums           rmd160  97f7adb074c2a8dec392c02504178e38522c5b3e \
                    sha256  b3f63c8a5bdf4efc10a293e5124a4a1095af6149af96b0a10b3ce7da7400f8c1 \
                    size    87863

depends_build-append \
                    port:libtool \
                    port:pkgconfig

depends_lib-append  port:libt3config

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