# $Id$ PortSystem 1.0 name alex version 2.1.0 categories devel maintainers gwright@macports.org platforms darwin description A Lexical Analyzer Generator for Haskell long_description \ Alex is a tool for generating lexical analysers \ in Haskell, given a description of the tokens to be \ recognised in the form of regular expressions. \ It is similar to the tools lex or flex for C/C++. homepage http://www.haskell.org/alex/ master_sites http://www.haskell.org/alex/dist/${version} checksums md5 17e80d39cc3f1aba28dcea0e358c81e9 depends_build port:ghc configure { cd ${worksrcpath} system "runhaskell Setup configure --ghc --prefix=${prefix}" } build { cd ${worksrcpath} system "runhaskell Setup build -v" } destroot { cd ${worksrcpath} system "runhaskell Setup copy --copy-prefix=${destroot}${prefix}" } livecheck.check regex livecheck.regex "version (.+) released"