|
Revision 39931, 1.5 KB
(checked in by vinc17@…, 3 months ago)
|
|
Bump to version 2.3.2.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | |
|---|
| 5 | name mpfr |
|---|
| 6 | version 2.3.2 |
|---|
| 7 | categories devel math |
|---|
| 8 | platforms darwin |
|---|
| 9 | maintainers vincent-opdarw@vinc17.org |
|---|
| 10 | |
|---|
| 11 | description C library for multiple-precision floating-point computations |
|---|
| 12 | long_description \ |
|---|
| 13 | MPFR is a portable C library for arbitrary-precision binary \ |
|---|
| 14 | floating-point computation with correct rounding, based on the GMP \ |
|---|
| 15 | multiple-precision library. The computation is both efficient and \ |
|---|
| 16 | has a well-defined semantics. It copies the good ideas from the \ |
|---|
| 17 | ANSI/IEEE-754 standard for fixed-precision floating-point arithmetic. |
|---|
| 18 | |
|---|
| 19 | homepage http://www.mpfr.org/ |
|---|
| 20 | master_sites http://www.mpfr.org/mpfr-${version}/ |
|---|
| 21 | |
|---|
| 22 | checksums \ |
|---|
| 23 | ${distname}.tar.bz2 md5 527147c097874340cb9cee0579dacf3b \ |
|---|
| 24 | ${distname}.tar.bz2 sha1 37dbd478e1c136f37cf4c68eb1522e86e2307288 \ |
|---|
| 25 | ${distname}.tar.bz2 rmd160 7f025fa03450cd64e57b226804d013614ef7d165 |
|---|
| 26 | |
|---|
| 27 | use_bzip2 yes |
|---|
| 28 | use_parallel_build yes |
|---|
| 29 | |
|---|
| 30 | depends_lib port:gmp |
|---|
| 31 | |
|---|
| 32 | dist_subdir ${name}/${version} |
|---|
| 33 | |
|---|
| 34 | #patch_sites ${master_sites} |
|---|
| 35 | #patchfiles patch01 patch02 patch03 patch04 |
|---|
| 36 | #patch.args -p1 |
|---|
| 37 | |
|---|
| 38 | configure.args --enable-shared |
|---|
| 39 | |
|---|
| 40 | test.run yes |
|---|
| 41 | test.target check |
|---|
| 42 | |
|---|
| 43 | pre-destroot { |
|---|
| 44 | set docdir ${destroot}${prefix}/share/doc/${name} |
|---|
| 45 | file mkdir ${docdir} |
|---|
| 46 | xinstall -m 644 -v -W ${worksrcpath} \ |
|---|
| 47 | AUTHORS BUGS COPYING.LIB FAQ.html NEWS TODO ${docdir} |
|---|
| 48 | } |
|---|
| 49 | |
|---|
| 50 | platform darwin x86 { |
|---|
| 51 | configure.args-append --host=none-apple-darwin |
|---|
| 52 | } |
|---|
| 53 | |
|---|
| 54 | platform darwin i386 { |
|---|
| 55 | configure.args-append --host=none-apple-darwin |
|---|
| 56 | } |
|---|
| 57 | |
|---|
| 58 | livecheck.check none |
|---|