# $Id: Portfile,v 1.4 2006/06/01 21:12:49 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-pyx
version			0.9
categories		python
platforms		darwin
maintainers		mww@opendarwin.org
description		PyX is a TeX/LaTeX interface for Python
long_description	PyX is a Python package for the creation of \
				encapsulated PostScript figures. It provides both an \
				abstraction of PostScript and a TeX/LaTeX interface. \
				Complex tasks like 2d and 3d plots in \
				publication-ready quality are built out of these \
				primitives.

homepage		http://pyx.sourceforge.net/
master_sites	sourceforge:pyx
distname		PyX-${version}
checksums		sha1 79daf941f0ad36126471567879aaf6f94d21ccc4

depends_lib-append	port:teTeX

post-destroot {
	xinstall -m 644 -W ${worksrcpath} AUTHORS CHANGES INSTALL LICENSE \
		README ${destroot}${prefix}/share/doc/${name}
	file delete -force ${destroot}/etc
}

