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

name                re-flex
github.setup        Genivia RE-flex 3.5.1 v
revision            0
github.tarball_from archive

checksums           rmd160  6a73e8b98c72429724b28020abc88c5518bb636f \
                    sha256  e08ed24a6799a6976f6e32312be1ee059b4b6b55f8af3b433a3016d63250c0e4 \
                    size    6395744

categories          devel
maintainers         nomaintainer
license             BSD

description         regex-centric, fast lexical analyzer generator for C++ with full Unicode support

long_description    RE/flex is a regex-centric, fast lexical analyzer generator for C++ with \
                    full Unicode support. Faster than Flex. Accepts Flex specifications. \
                    Generates reusable source code that is easy to understand. Introduces \
                    indent/dedent anchors, lazy quantifiers, functions for lex/syntax error \
                    reporting and more. Seamlessly integrates with Bison and other parsers.

homepage            https://www.genivia.com/doc/reflex/html/

# identical executable name
conflicts           reflex

compiler.cxx_standard 2011

test.run            yes
test.target         test

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 {*}[glob ${worksrcpath}/doc/html/*] ${destroot}${docdir}
}
