# $Id$ PortSystem 1.0 name pari version 2.3.3 revision 1 categories math platforms darwin 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 6f858b5f634eaba018d99319ace4747e \ sha1 5304442a631fd87681112e5e7a8d071eeda3e192 \ rmd160 ad81a5332f42025b822d8906b7e04039f8d50187 depends_build path:${prefix}/bin/tex:texlive port:readline build.target gp docpdf # PARI/GP doesn't use autoconf, and if only *FLAGS environment variables are # used, libreadline is not found. One needs *PATH environment variables. configure.env C_INCLUDE_PATH=${prefix}/include \ LIBRARY_PATH=${prefix}/lib configure.args --mandir=${prefix}/share/man --with-readline pre-configure { file rename -force ${worksrcpath}/Configure ${worksrcpath}/configure } post-destroot { set docdir ${destroot}${prefix}/share/doc/${name} file mkdir ${docdir} xinstall -m 644 -v -W ${worksrcpath} \ AUTHORS CHANGES COPYING TODO ${docdir} system "ln -s ../../${name}/doc ${docdir}/doc" xinstall -m 644 -v -W ${worksrcpath}/doc \ develop.pdf libpari.pdf refcard.pdf tutorial.pdf users.pdf \ ${destroot}${prefix}/share/${name}/doc } livecheck.check regex livecheck.url ${master_sites}?M=D livecheck.regex ${name}-(\\d+\\.\\d+\\.\\d+)