# -*- 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
description parser and lexer generator for python, in python
long_description This is a Python package for generating parsers and \
lexers in Python. The distribution contains a \
generator for generating complicated multi-state \
lexers with support for backing up. It also includes a \
generator for generating GLR parsers capable of \
parsing arbitrary grammars.
homepage http://lava.net/~newsham/pyggy/
master_sites ${homepage} http://distfiles.macports.org/python/
distname pyggy-${version}
checksums md5 b134d0cfbc35ff392930550c7aa112d4
if {${name} ne ${subport}} {
reinplace "s|version = 0.4|version = str(0.4)|g" ${worksrcpath}/vers.py
xinstall -m 644 -W ${worksrcpath} README TODO \
${destroot}${prefix}/share/doc/${subport}