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

PortSystem 1.0
PortGroup python24 1.0

name			py-bison
version			0.1.8
categories		python lang
platforms		darwin
maintainers		nomaintainer
description		Python-based parsing at the speed of C
long_description	PyBison is a Python binding to the bison/yacc and flex/lex \
			parser-generator utilities.

homepage		http://www.freenet.org.nz/python/pybison/
master_sites	${homepage}
distname		pybison-${version}
checksums		md5 c57ea56225c205dff1b7291d9a9f1048
patchfiles		patch-setup.py

depends_build	port:py-pyrex
depends_run		bin:bison:bison bin:flex:flex

post-destroot	{
	xinstall -m 644 -W ${worksrcpath}/doc index.html walkthrough.html \
		${destroot}${prefix}/share/doc/${name}
}

