# -*- 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           legacysupport 1.1

# _getline
legacysupport.newest_darwin_requires_legacy 10

name                libt3highlight
version             0.5.0
revision            0

homepage            https://os.ghalkes.nl/

description         \
    The ${name} library provides functions for syntax-highlighting different \
    types of text files.

long_description    \
    {*}${description} Its main design goal is an easily restartable syntax \
    highlighting, suitable for use in interactive text editors. To make the \
    syntax highlighting restartable, ${name} uses a single integer \
    start-of-line state. However, it does provide several advanced features, \
    such as dynamic end-of-state patterns, which make it possible to \
    highlight complex languages like Perl and Bash with high fidelity.

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

checksums           rmd160  86f53eb81439b6b007edf769d7209de7169a85dc \
                    sha256  8216190785e52a116f9f78ec6513815745904c2aaf70d0a0a09438e08640dfbb \
                    size    101545

depends_build-append \
                    port:libtool \
                    port:pkgconfig

depends_lib-append  port:libt3config \
                    port:pcre2

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

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