# $Id: Portfile,v 1.6 2006/05/31 18:23:44 landonf Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-pyrex
version			0.9.3.1
revision		2
categories		python devel
maintainers		landonf@opendarwin.org
platforms		darwin
description		A language for writing Python extension modules.
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 0415b95a023061679021323d9ce56fe0

patchfiles		patch-emit-only-used-labels \
			patch-fix-unused-variables \
			patch-warnings-in-utility-routines \
			patch-unused-declarations

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}
}
