source: trunk/dports/math/pari/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name                pari
6version             2.3.4
7categories          math
8platforms           darwin
9maintainers         vincent-vinc17.org:opdarw
10description         PARI/GP computer algebra system
11long_description    PARI/GP is a widely used computer algebra system designed \
12                    for fast  computations in number theory (factorizations, \
13                    algebraic number theory,  elliptic curves...)
14homepage            http://pari.math.u-bordeaux.fr/
15master_sites        ${homepage}/pub/pari/unix/
16checksums           md5 35c896266e4257793387ba22d5d76078 \
17                    sha1 0c97456c5fc7e9fe774ceb44aaf77e9ba9574ae6 \
18                    rmd160 d3bf1f24c0f321ccee309bc2b4c15c8a263fb73f
19depends_build       path:${prefix}/bin/tex:texlive
20depends_lib         port:xorg-libX11 port:ncurses port:readline
21
22build.target        gp docpdf
23
24# PARI/GP doesn't use autoconf, and if only *FLAGS environment variables are
25# used, libreadline is not found. One needs *PATH environment variables.
26configure.env       C_INCLUDE_PATH=${prefix}/include \
27                    LIBRARY_PATH=${prefix}/lib
28configure.args      --mandir=${prefix}/share/man --with-readline
29pre-configure {
30    file rename -force ${worksrcpath}/Configure ${worksrcpath}/configure
31}
32
33variant gmp description {GNU MP support} {
34    depends_lib-append port:gmp
35    configure.args-append --with-gmp
36}
37
38post-destroot {
39    set docdir ${destroot}${prefix}/share/doc/${name}
40    file mkdir ${docdir}
41    xinstall -m 644 -v -W ${worksrcpath} \
42      AUTHORS CHANGES COPYING ${docdir}
43    system "ln -s ../../${name}/doc ${docdir}/doc"
44    xinstall -m 644 -v -W ${worksrcpath}/doc \
45      develop.pdf libpari.pdf refcard.pdf tutorial.pdf users.pdf \
46      ${destroot}${prefix}/share/${name}/doc
47}
48
49livecheck.check     regex
50livecheck.url       ${master_sites}?M=D
51livecheck.regex     ${name}-(\\d+\\.\\d+\\.\\d+)
Note: See TracBrowser for help on using the repository browser.