# $Id: Portfile,v 1.6 2005/04/21 15:58:11 jberry Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-gsl
version			0.2.0
revision		1
categories		python science
platforms		darwin
maintainers		mww@opendarwin.org
description		Python interface to the GNU scientific library
long_description	Python interface to the GSL, the GNU scientfic \
				library\; a lot of functions, random number generators \
				are available.

homepage		http://pygsl.sourceforge.net/
master_sites	sourceforge:pygsl
distname		pygsl-${version}
checksums		md5 7b2c96c0bf2cf435611803b3f2463614

depends_lib-append	bin:gsl-config:gsl \
				port:py-numeric

build.env		CFLAGS="-I${prefix}/include -I${prefix}/include/gsl"\
				LDFLAGS=-L${prefix}/lib

post-destroot	{
	xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
}
