# $Id: Portfile 59613 2009-10-17 22:56:09Z jameskyle@macports.org $

PortSystem          1.0
PortGroup           python26 1.0
name                py26-parsing
version             1.5.2
revision            1
categories          python lang
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     13aed3cb21a427f8aeb0fe7ca472ba42 \
                    sha1    298ec7c4df5f188088be21b5feda35752fa46507 \
                    rmd160  cf564cc42951e134b8ed29e97d680d9df0b61545
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>

