Ticket #2535: Portfile

File Portfile, 928 bytes (added by leimy@…, 20 years ago)

Portfile for mpfr

Line 
1PortSystem 1.0
2name            mpfr
3version         2.1.0
4categories      devel math
5maintainers     leimy@opendarwin.org
6platforms       darwin
7description     The MPFR library is a C library for multiple-precision floating-point computations
8long_description        \
9                The MPFR library is a C library for multiple-precision \
10                floating-point computations with exact rounding (also called \
11                correct rounding). It is based on the GMP multiple-precision \
12                library and should replace the MPF class in further releases \
13                of GMP.
14homepage        http://www.mpfr.org
15
16master_sites    http://www.mpfr.org/mpfr-current
17
18depends_lib     lib:libgmp.3:gmp
19
20checksums       md5 9174f5e0cd43f2253b5779743368c8f2
21
22configure.args  --infodir=\\\${prefix}/share/info --with-gmp=${prefix}
23
24post-destroot   { system "ranlib ${destroot}${prefix}/lib/libmpfr.a"
25                  ui_info "Executed ranlib ${prefix}/lib/libmpfr.a"}
26
27variant darwin x86      {
28        configure.args-append   --host=none-apple-darwin
29}