source: trunk/dports/devel/mpfr/Portfile @ 72652

Last change on this file since 72652 was 72652, checked in by vinc17@…, 7 years ago

Bump to version 3.0.0-p7.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1# $Id: Portfile 72652 2010-10-22 09:18:23Z vinc17@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    3.0.0
12set patch_level     7
13version             ${base_version}-p${patch_level}
14#version             ${base_version}
15categories          devel math
16platforms           darwin
17maintainers         vinc17
18
19description     C library for multiple-precision floating-point computations
20long_description \
21    MPFR is a portable C library for arbitrary-precision binary \
22    floating-point computation with correct rounding, based on the GMP \
23    multiple-precision library. The computation is both efficient and \
24    has a well-defined semantics. It copies the good ideas from the \
25    ANSI/IEEE-754 standard for fixed-precision floating-point arithmetic.
26
27distname            ${name}-${base_version}
28homepage            http://www.mpfr.org/
29master_sites        http://www.mpfr.org/${distname}/
30
31use_bzip2           yes
32
33checksums \
34    patch01 \
35        md5     a11aad097d688737c2f796a3de2190c7 \
36        sha1    906e7a111ffcfb488307067e295af6a35a5a9d14 \
37        rmd160  34696d29a854c4d5a56dbb6a81991b088ab30091 \
38    patch02 \
39        md5     1e0cf19e8f47881d9edb8dcb451da928 \
40        sha1    8d692a797f848b9b3e9b886f9e68285885fe00b0 \
41        rmd160  06c763e58524b6e5ff96e538a70ae725fe97d615 \
42    patch03 \
43        md5     e125480be61ad2f20bd75a25e43a54f4 \
44        sha1    f30cf103229b85137a5f3f368e174209ff4fa8e3 \
45        rmd160  79712f3b0d1cb1607a2a5988c980376cd6d23f10 \
46    patch04 \
47        md5     05bd04f54ffcdb3cbffb6da9e7989427 \
48        sha1    b41b1f26ddd0917c024c573d9612b2af1451299f \
49        rmd160  44a2c624382d98b605d0ab6b09c94e691725d906 \
50    patch05 \
51        md5     6043bd3a144d19109e52ed7060c7e914 \
52        sha1    9ef3d433b82be498e9a34fb149d2d3682e83180f \
53        rmd160  2d20602975cc1dd1a954992af7a459d2bf9b4bfc \
54    patch06 \
55        md5     392ed630778ad8a1bbbc8050d11de68c \
56        sha1    9a53b5a646e2ccf6bf46a18641aff32062035c01 \
57        rmd160  1d65d68e59741f4adcec5f4a401c98e69c57a874 \
58    patch07 \
59        md5     67a2dcf24c30d75fdbe62563edf58901 \
60        sha1    f34e0b4bc0b719e0a427cbef7c41e4853d7fe9da \
61        rmd160  0b5053f4f77a970701dd4a6048b7bb0533fe1cf6 \
62    [suffix ${distname}] \
63        md5     f45bac3584922c8004a10060ab1a8f9f \
64        sha1    8ae8bc72ac26a0f17ad9f57c520264c056c64770 \
65        rmd160  6862412d09e1da3e1f4b023b8cfdee4d440d903e
66
67use_parallel_build  yes
68
69depends_lib     port:gmp
70
71dist_subdir     ${name}/${base_version}
72
73patch_sites     ${master_sites}
74patch.args      -p1
75
76for {set i 1} {${i} <= ${patch_level}} {incr i} {
77    patchfiles-append patch[format %02d ${i}]
78}
79
80test.run        yes
81test.target     check
82
83livecheck.url    http://www.mpfr.org/mpfr-current/
84livecheck.regex  "mpfr-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.