# -*- 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.11
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  46b94f0ce6e1c0499ef01cea2f9e05cf52b3b4cd \
                    sha256  e4dfdef50be52e365f68745df6177e819df5a7600e61716063d5480f7db3c06c \
                    size    88148

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

depends_lib-append  port:libt3config

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

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

build.cmd-prepend   CC=${configure.cc}
