source: trunk/dports/devel/mpfr/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: 2.5 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4
5# Although mpfr builds without a custom universal variant,
6# it is not the same as builing the archs differently
7# due to the variable HAVE_LDOUBLE_IEEE_EXT_LITTLE.
8PortGroup  muniversal 1.0
9
10name                mpfr
11set base_version    2.4.1
12version             ${base_version}-p4
13revision            1
14categories          devel math
15platforms           darwin
16maintainers         vincent-vinc17.org:opdarw
17
18description     C library for multiple-precision floating-point computations
19long_description \
20    MPFR is a portable C library for arbitrary-precision binary \
21    floating-point computation with correct rounding, based on the GMP \
22    multiple-precision library. The computation is both efficient and \
23    has a well-defined semantics. It copies the good ideas from the \
24    ANSI/IEEE-754 standard for fixed-precision floating-point arithmetic.
25
26distname        ${name}-${base_version}
27homepage        http://www.mpfr.org/
28master_sites    http://www.mpfr.org/${distname}/
29
30checksums \
31    patch01 \
32        md5     106f37855e1c4a5e54da5613e49e3a38 \
33        sha1    82eb4c34685b6d655d33e0dfcea003248a8967d9 \
34        rmd160  a68a65e3ba90fabb8d634d69b172a32162488661 \
35    patch02 \
36        md5     a440bcd882d8868e9b47a0082f8877a2 \
37        sha1    49ae9b7d23d5ba1013687a99d28ac2c1d674af55 \
38        rmd160  d1ff268cae4d0659d805d7e22bc5c8e245c86587 \
39    patch03 \
40        md5     394ac993308d6bfd0e88ce4b79e0e2e0 \
41        sha1    282066b0104ec41931126acb57e6ef6140dcacbd \
42        rmd160  97b3cc3b761addf812420433d658ba400e0f8d4b \
43    patch04 \
44        md5     5b22dd389f5724594398686b5db072eb \
45        sha1    a32e20029351eb34cee941d22566044693a91b93 \
46        rmd160  209acd4081774b4e63d58700dc8355e66238ac8d \
47    ${distname}.tar.lzma \
48        md5     22402995cf2496d8faea42c8da02ce1f \
49        sha1    6145947361fac880b87976e21e28fab12ccf4881 \
50        rmd160  e848db799fc3b6a4681de3b38df8809c2369f266
51
52use_lzma            yes
53depends_build       bin:unlzma:lzmautils
54
55use_parallel_build  yes
56
57depends_lib     port:gmp
58
59dist_subdir     ${name}/${base_version}
60
61patch_sites     ${master_sites}
62patchfiles      patch01 patch02 patch03 patch04
63patch.args      -p1
64
65test.run        yes
66test.target     check
67
68post-destroot {
69    set docdir ${destroot}${prefix}/share/doc/${name}
70    file mkdir ${docdir}
71    xinstall -m 644 -v -W ${worksrcpath} \
72      AUTHORS BUGS COPYING.LIB FAQ.html NEWS TODO ${docdir}
73}
74
75livecheck.url    http://www.mpfr.org/mpfr-current/
76livecheck.regex  "mpfr-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.