# $Id: Portfile,v 1.6 2006/07/31 00:06:22 vinc17 Exp $

PortSystem 1.0
name		pari
version		2.3.0
categories	math
maintainers	vincent-opdarw@vinc17.org
description	PARI/GP computer algebra system
long_description PARI/GP is a widely used computer algebra system designed \
		for fast  computations in number theory (factorizations,   \
		algebraic number theory,  elliptic curves...)
homepage	http://pari.math.u-bordeaux.fr/
master_sites	${homepage}/pub/pari/unix/
checksums	md5 ea685da18e015a4365965e82e6e2a2dd \
		sha1 73a0b2cb02d38d81b9b14d7edb1a4ec8e59fa9b4
depends_build	bin:tex:teTeX port:readline
configure.args	--mandir=${prefix}/share/man --with-readline
configure.env	LDFLAGS=-L${prefix}/lib CPPFLAGS=-I${prefix}/include C_INCLUDE_PATH=${prefix}/include LIBRARY_PATH=${prefix}/lib
pre-configure	{ file rename -force ${worksrcpath}/Configure ${worksrcpath}/configure }
