# $Id: Portfile,v 1.6 2006/04/17 09:08:55 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-parsing
version			1.4.1
categories		python lang
platforms		darwin
maintainers		mww@opendarwin.org
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.sourceforge.net/
master_sites	sourceforge:pyparsing
distname		pyparsing-${version}
checksums		md5 210c2405ff7f9b3bbda0a2fbef479100

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} CHANGES HowToUsePyparsing.html \
		README ${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/htmldoc ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath}/examples \
		AcManForm.dfm LAparser.py SimpleCalc.py SingleForm.dfm \
		chemicalFormulas.py commasep.py configParse.py dfmparse.py \
		dictExample.py dictExample2.py ebnf.py ebnftest.py fourFn.py \
		getNTPservers.py getNTPserversNew.py greeting.py greetingInKorean.py \
		httpServerLogParser.py idlParse.py makeHTMLTagExample.py mozilla.ics \
		mozillaCalendarParser.py pgn.py scanExamples.py simpleSQL.py \
		urlExtractor.py urlExtractorNew.py wordsToNum.py \
		${destroot}${prefix}/share/doc/${name}/examples/
}
