# -*- 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           github 1.0
PortGroup           cmake 1.1

github.setup        antlr antlr4 4.13.2
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name                antlr4-cpp-runtime
revision            1

categories          lang devel
license             BSD
maintainers         {emcrisostomo @emcrisostomo} \
                    openmaintainer

description         ANTLR (ANother Tool for Language Recognition) is a \
                    powerful parser generator for reading, processing, \
                    executing, or translating structured text or binary \
                    files.

long_description    ANTLR (ANother Tool for Language Recognition) is a \
                    powerful parser generator for reading, processing, \
                    executing, or translating structured text or binary \
                    files.  It's widely used to build languages, tools, \
                    and frameworks.  From a grammar, ANTLR generates a \
                    parser that can build parse trees and also generates \
                    a listener interface (or visitor) that makes it easy \
                    to respond to the recognition of phrases of interest.

checksums           rmd160  c52629b854ac6ffc2bceaf9af91c5a433e0b7e98 \
                    sha256  c6752f3f6d15e6242bb5ee54d70382aff1168ba1be6a23c2540f606288e377b5 \
                    size    4167528

compiler.cxx_standard 2017

configure.args-append \
                    -DANTLR4_INSTALL=ON
cmake.source_dir    ${worksrcpath}/runtime/Cpp
