# $Id: Portfile 78680 2011-05-17 22:02:01Z macsforever2000@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-parsing
version             1.5.5
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     0beba391cba3082d7914c289bffa52ce \
                    sha1    68f18a8f98c9d0e613e08ab45c2b8263daa4a53b \
                    rmd160  ff786fa241d2e432f197c6e4c3f0ffba9fca1aab

post-destroot {
   xinstall -m 644 -W ${worksrcpath} CHANGES HowToUsePyparsing.html \
      LICENSE README ${destroot}${prefix}/share/doc/${name}
   xinstall -m 644 -W ${worksrcpath}/docs \
      pycon06-AdventureEngineUsingPyparsing-notes.pdf \
      pycon06-IntroToPyparsing-notes.pdf \
      pyparsingClassDiagram.JPG \
      pyparsingClassDiagram.PNG \
      ${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>

