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

PortSystem 1.0
PortGroup python24 1.0

name			py-pullparser
version			0.0.6
categories		python www
platforms		darwin
maintainers		nomaintainer
description		python module providing a simple pull API for HTML parsing
long_description	A simple "pull API" for HTML parsing, after Perl's \
				HTML::TokeParser. Many simple HTML parsing tasks are \
				simpler this way than with the HTMLParser module. \
				pullparser.PullParser is a subclass of \
				HTMLParser.HTMLParser.

homepage		http://wwwsearch.sourceforge.net/pullparser/
master_sites	${homepage}/src/
distname		pullparser-${version}
checksums		md5 e7074a671ced63ca019d00e1a1b25ca4

test.run		yes
test.cmd		${python.bin}
test.target		test.py

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog \
		INSTALL README.html README.txt \
		${destroot}${prefix}/share/doc/${name}
}
