# $Id: Portfile 119334 2014-04-22 23:09:21Z ryandesign@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.branches        5.8 5.10 5.12 5.14 5.16 5.18
perl5.setup           Parse-RecDescent 1.967009
license               {Artistic-1 GPL}
maintainers           nomaintainer
description           Generate Recursive-Descent Parsers
long_description      RecDescent incrementally generates top-down \
                      recursive-descent text parsers from simple yacc-like \
                      grammar specifications. It provides: \
                      * Regular expressions or literal strings as \
                      terminals (tokens), \
                      * Multiple (non-contiguous) productions for any rule, \
                      * Repeated, optional and alternate subrules within \
                      productions, \
                      * Late-bound (run-time dispatched) subrules \
                      * Full access to Perl within actions specified as \
                      part of the grammar, \
                      * Simple automated error reporting during parser \
                      generation and parsing, \
                      * The ability to commit to, uncommit to, or reject \
                      particular productions during a parse, \
                      * Incremental extension of the parsing grammar (even \
                      during a parse), \
                      * Precompilation of parser objects, \
                      * User-definable reduce-reduce conflict resolution \
                      via "scoring" of matching productions. \
                      See the file "RecDescent.pod" for excruciating \
                      detail on all of this.

checksums             rmd160  63e708cc35155455e1004ba1184b81717accb9fe \
                      sha256  e1000f0b82256269fb8daa43aab166a7832fc18b4689af7c8d6d1a49fe75c687

platforms             darwin

if {${perl5.major} != ""} {
    depends_build-append  port:p${perl5.major}-extutils-makemaker

    depends_lib-append    port:p${perl5.major}-version

    supported_archs noarch
}
