# $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-cmdsyntax
version			0.91
revision		1
categories		python
platforms		darwin
maintainers		nomaintainer
description		python module for matching command line arguments
long_description	a python module for matching command line arguments to \
				a syntax definition.

homepage		http://www.boddie.org.uk/david/Projects/Python/CMDSyntax
master_sites	${homepage}/Software/
distname		cmdsyntax-${version}
checksums		md5 6d5dc56a9913c46a301d8044da8754e1

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath}/examples ripoff_cmd.py test.py \
		verboseform.py ${destroot}${prefix}/share/doc/${name}/examples
}
