Changeset 22515
- Timestamp:
- 2007-03-03 13:22:32 (19 months ago)
- Files:
-
- 1 modified
-
trunk/dports/devel/mpfr/Portfile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/devel/mpfr/Portfile
r22478 r22515 3 3 PortSystem 1.0 4 4 5 name mpfr 6 version 2.2.1 7 categories devel math 8 platforms darwin 9 maintainers nomaintainer@macports.org 5 name mpfr 6 version 2.2.1 7 revision 1 8 categories devel math 9 platforms darwin 10 maintainers vincent-opdarw@vinc17.org 10 11 11 description The MPFR library is a C library for multiple-precision floating-point computations 12 long_description The MPFR library is a C library for multiple-precision \ 13 floating-point computations with exact rounding (also called \ 14 correct rounding). It is based on the GMP multiple-precision \ 15 library and should replace the MPF class in further releases \ 16 of GMP. 12 description C library for multiple-precision floating-point computations 13 long_description \ 14 MPFR is a portable C library for arbitrary-precision binary \ 15 floating-point computation with correct rounding, based on the GMP \ 16 multiple-precision library. The computation is both efficient and \ 17 has a well-defined semantics. It copies the good ideas from the \ 18 ANSI/IEEE-754 standard for fixed-precision floating-point arithmetic. 17 19 18 homepage http://www.mpfr.org/ 19 master_sites http://www.mpfr.org/mpfr-${version}/ 20 checksums md5 40bf06f8081461d8db7d6f4ad5b9f6bd \ 21 sha1 d0abd0943fcfc937a816bf67baaff3f0273a19e7 20 homepage http://www.mpfr.org/ 21 master_sites http://www.mpfr.org/mpfr-${version}/ 22 22 23 use_bzip2 yes 24 extract.only ${name}-${version}.tar.bz2 23 checksums \ 24 patch01 md5 fd276c3936d6fa5adf9fae1cd57c74c4 \ 25 patch01 sha1 47c3ec783f32081ea1406bc0aac06bf61fd804aa \ 26 patch02 md5 03e638937ec7a2af4f703577396e8e52 \ 27 patch02 sha1 e93c31a2baaef5367a710a5e64b82744f5de4b64 \ 28 patch03 md5 fa3398730e7d23fdf37ee4e5c422bf80 \ 29 patch03 sha1 4eaa326c4fe43499a8acbdd6fc71c6a408663650 \ 30 patch04 md5 5d44d16448f85fea2acd5bcbd04cabb0 \ 31 patch04 sha1 9a1fec3686cfd6b227cebcb9e24d4ed8549ad5d9 \ 32 patch05 md5 2881b39c442466caa3451725b50f5a7a \ 33 patch05 sha1 4d559340e1006e84dae50e655723e916a26989ad \ 34 ${distname}.tar.bz2 md5 40bf06f8081461d8db7d6f4ad5b9f6bd \ 35 ${distname}.tar.bz2 sha1 d0abd0943fcfc937a816bf67baaff3f0273a19e7 25 36 26 depends_lib port:gmp 37 use_bzip2 yes 27 38 28 configure.args --enable-shared --infodir=\\\${prefix}/share/info --with-gmp=${prefix} 29 configure.env CFLAGS="-fno-common" LDFLAGS="-L${prefix}/lib" 39 depends_lib port:gmp 30 40 31 test.run yes 32 test.target check 41 patch_sites ${master_sites} 42 patchfiles patch01 patch02 patch03 patch04 patch05 43 patch.args -p1 33 44 34 post-destroot { 35 xinstall -d -m 755 ${destroot}${prefix}/share/${name} 36 xinstall -m 644 -v -W ${worksrcpath} mpfr.texi texinfo.tex \ 37 ${destroot}${prefix}/share/${name} 38 system "ranlib ${destroot}${prefix}/lib/libmpfr.a" 45 configure.args --enable-shared 46 configure.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib" 47 48 test.run yes 49 test.target check 50 51 platform darwin x86 { 52 configure.args-append --host=none-apple-darwin 39 53 } 40 41 platform darwin x86 { 42 configure.args-append --host=none-apple-darwin 43 } 44 platform darwin i386 { 45 configure.args-append --host=none-apple-darwin 54 platform darwin i386 { 55 configure.args-append --host=none-apple-darwin 46 56 } 47 57 48 58 platform darwin 8 { 49 configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.059 configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 50 60 }

