# $Id: Portfile,v 1.2 2004/05/02 19:42:41 mww Exp $

PortSystem 1.0
PortGroup python 1.0

name		py-rex
version		0.9
categories	python devel
platforms	darwin
maintainers	mww@opendarwin.org
description	py-rex lets you write python extensions in mixed C/Python
long_description	Pyrex lets you write code that mixes Python and C data \
			types any way you want, and compiles it into a C \
			extension for Python.

homepage	http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
master_sites	${homepage}
distname	Pyrex-${version}
checksums	md5 99ae698c3f308d0d1eff1078ac87d459

extract.post_args	"| tar -xf - --exclude '.DS_Store'"

post-destroot	{
	xinstall -m 644 -W ${worksrcpath}/Doc About.html FAQ.html \
		extension_types.html index.html overview.html primes.c \
		sharing.html special_methods.html \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} CHANGES.txt INSTALL.txt README.txt \
		ToDo.txt USAGE.txt ${destroot}${prefix}/share/doc/${name}
}
