Portfile

# $Id: Portfile 20926 2006-12-11 17:01:31Z vinc17@macports.org $

PortSystem 1.0
name pari
version 2.3.1
revision 1
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 89e79e38a390b6209c2f154712a0ff01 \
sha1 d48d4f45528765336fda304400929996f64abe3f
depends_build bin:tex:teTeX port:readline
patchfiles upstream-patches
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 }

files