description lexical analysis module for python
long_description Plex is a Python module for constructing lexical \
analysers, or scanners. Plex scanners have almost all the \
capabilities of the scanners generated by GNU Flex, and are \
specified in a very similar way. Tokens are defined by regular \
expressions, and each token has an associated action, which \
may be to return a literal value, or to call an arbitrary \
homepage http://www.cosc.canterbury.ac.nz/~greg/python/Plex/
checksums md5 e6ec70ab691c465910a8c010586c7500
file copy ${portpath}/files/setup.py ${worksrcpath}
reinplace "s|PORTVERSION|${version}|g" ${worksrcpath}/setup.py
xinstall -m 644 -W ${worksrcpath} doc/Reference.html doc/Tutorial.html \
doc/index.html README TODO \
${destroot}${prefix}/share/doc/${name}
file delete ${destroot}${prefix}/share/doc/${name}/examples
file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}