# $Id$

PortSystem          1.0
PortGroup           python24 1.0

name                py-parsing
version             1.5.1
revision            1
categories          python lang
license             MIT
platforms           darwin
maintainers         nomaintainer
description         alternative approach to creating parsers in python
long_description \
   The parsing module is an alternative approach to creating and executing \
   simple grammars, vs. the traditional lex/yacc approach, or the use of \
   regular expressions. The parsing module provides a library of classes \
   that client code uses to construct the grammar directly in Python code.

homepage            http://pyparsing.wikispaces.com/
master_sites        sourceforge:pyparsing
distname            pyparsing-${version}
checksums           md5     d0777821fc4c5f2474cda1081229d76b \
                    sha1    5d3218cba6e00b8ca7cf842f3c8e5db2ce6f5f85 \
                    rmd160  694d2ad8aa0b6efe47bb96e2eb160fb83fd83b1e

post-destroot   {
   xinstall -m 644 -W ${worksrcpath} CHANGES HowToUsePyparsing.html \
      LICENSE README ${destroot}${prefix}/share/doc/${name}
   eval xinstall -m 644 [glob ${worksrcpath}/docs/*] \
      ${destroot}${prefix}/share/doc/${name}
   file copy ${worksrcpath}/htmldoc ${destroot}${prefix}/share/doc/${name}
   eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
      ${destroot}${prefix}/share/doc/${name}/examples
}

livecheck.regex     <title>pyparsing pyparsing-(.*) released.*</title>