# $Id: Portfile 33531 2008-01-29 12:52:44Z vinc17@macports.org $ PortSystem 1.0 name mpfr version 2.3.1 categories devel math platforms darwin maintainers vincent-opdarw@vinc17.org description C library for multiple-precision floating-point computations long_description \ MPFR is a portable C library for arbitrary-precision binary \ floating-point computation with correct rounding, based on the GMP \ multiple-precision library. The computation is both efficient and \ has a well-defined semantics. It copies the good ideas from the \ ANSI/IEEE-754 standard for fixed-precision floating-point arithmetic. homepage http://www.mpfr.org/ master_sites http://www.mpfr.org/mpfr-${version}/ checksums \ ${distname}.tar.bz2 md5 8352b619e04dcc73411a38b39dd855f6 \ ${distname}.tar.bz2 sha1 302ebc61d24bed644e88e6ba269b2ec4146947a5 \ ${distname}.tar.bz2 rmd160 bee605214c22b6a918eef9b9bb77d12b4c4f1188 use_bzip2 yes depends_lib port:gmp dist_subdir ${name}/${version} #patch_sites ${master_sites} #patchfiles patch01 patch02 patch03 patch04 #patch.args -p1 configure.args --enable-shared test.run yes test.target check pre-destroot { set docdir ${destroot}${prefix}/share/doc/${name} file mkdir ${docdir} xinstall -m 644 -v -W ${worksrcpath} \ AUTHORS BUGS COPYING.LIB FAQ.html NEWS TODO ${docdir} } platform darwin x86 { configure.args-append --host=none-apple-darwin } platform darwin i386 { configure.args-append --host=none-apple-darwin } livecheck.check none