# $Id: Portfile 95756 2012-07-21 12:09:31Z mww@macports.org $ PortSystem 1.0 name flex version 2.5.36 categories devel maintainers mww license BSD description Fast lexical analyser generator long_description "Flex is a tool for generating programs that require \ pattern-matching on text. It is usually used together \ with yacc/bison to automatically generate a parser for \ a language grammar, e.g. the syntax of a configuration file." homepage http://flex.sourceforge.net/ platforms darwin master_sites sourceforge checksums rmd160 fa2c99b025426f5faea80b23220da3eed21f3042 \ sha256 c466e68bbbb0a7884301ba257376f98197254543799690b671b1ac2130645d55 use_bzip2 yes depends_lib port:gettext configure.args --infodir=${prefix}/share/info \ --mandir=${prefix}/share/man use_parallel_build yes test.run yes test.target check post-destroot { ln -sf flex ${destroot}${prefix}/bin/flex++ } livecheck.type regex livecheck.regex {version (\d+(?:\.\d+)*)}