# -*- 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 4.2.1 v revision 0 github.tarball_from archive checksums rmd160 3dd649666a851dc0f1813d03b1f7651848f676e4 \ sha256 98912b68927bf1790a3ff0ba86e62ea20c5be5fe646f18078cca9d7959e03a24 \ size 6601440 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/ notes "The executable and manpage are renamed to \"re-flex\" (consistent with the port name), avoiding conflict with the pre-existing \"reflex\" port." configure.args-append --program-transform-name=s,reflex,re-flex,g 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} }