# $Id: Portfile,v 1.2 2006/04/06 06:28:46 blb Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-bison
version			0.1.8
categories		python lang
platforms		darwin
maintainers		mww@opendarwin.org
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}
}

