Import mpfr 2.2.0 (which was split off from gmp)

The MPFR library is a C library for multiple-precision floating-point
computations with exact rounding (also called correct rounding).
It is based on the GMP multiple-precision library.

Joint work with espie@
This commit is contained in:
naddy 2006-11-01 18:41:21 +00:00
parent 3ac5febb0b
commit c344735e9f
6 changed files with 137 additions and 0 deletions

39
devel/mpfr/Makefile Normal file
View File

@ -0,0 +1,39 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/01 18:41:21 naddy Exp $
COMMENT= "library for multiple-precision floating-point computations"
DISTNAME= mpfr-2.2.0
SHARED_LIBS += mpfr 0.0 # .1.0
CATEGORIES= devel math
HOMEPAGE= http://www.mpfr.org/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# (L)GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}${DISTNAME}/
DIST_SUBDIR= ${DISTNAME}
.for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16
PATCHFILES+= patch$i
.endfor
PATCH_DIST_STRIP=-p1
# no interlibrary dependency, though
LIB_DEPENDS= gmp:gmp->=4.1.0:devel/gmp
SEPARATE_BUILD= simple
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-gmp=${LOCALBASE}
REORDER_DEPENDENCIES=${PORTSDIR}/infrastructure/mk/automake.dep
# make sure we do not pick up an installed version of libmpfr
REGRESS_FLAGS= LIBTOOL="${LIBTOOL} ${LIBTOOL_FLAGS}" ${_lt_libs} \
LDFLAGS="-L${WRKBUILD}/.libs -L${LOCALBASE}/lib"
.include <bsd.port.mk>

68
devel/mpfr/distinfo Normal file
View File

@ -0,0 +1,68 @@
MD5 (mpfr-2.2.0/mpfr-2.2.0.tar.gz) = 15845f68d26f2487a9c6d5b8148f9204
MD5 (mpfr-2.2.0/patch01) = 8104d29f4f544ed24fc54349b3c50968
MD5 (mpfr-2.2.0/patch02) = 34ae93cd0ed0b3adcb49cfdc68c18b75
MD5 (mpfr-2.2.0/patch03) = a7af9750238fdf49c8dffcf151f57049
MD5 (mpfr-2.2.0/patch04) = 2244e0aef66bc63773899b1758b8e812
MD5 (mpfr-2.2.0/patch05) = 5c4db32dfaef7d032e2f359cacebf7ce
MD5 (mpfr-2.2.0/patch06) = a8925f41bbdfe0bbf5318e47ce50a160
MD5 (mpfr-2.2.0/patch07) = 8b51f44fc908bad70ea0d458bac47fb9
MD5 (mpfr-2.2.0/patch08) = ff52eac4c54118dd55af7757dc8f8f9b
MD5 (mpfr-2.2.0/patch09) = b11d41b37d6131d018ff541fe95ec5e0
MD5 (mpfr-2.2.0/patch10) = 6f3d74f617a3c45c6083ab02219732d6
MD5 (mpfr-2.2.0/patch11) = b4093aa482b9bdce5ff355ad070c68a4
MD5 (mpfr-2.2.0/patch12) = 03b0958674a50632c309251c5935de50
MD5 (mpfr-2.2.0/patch13) = cd058f620dd3d14f2f4615cdfe04112a
MD5 (mpfr-2.2.0/patch14) = 24e2201c022332d42decda15c8f444e1
MD5 (mpfr-2.2.0/patch15) = e39d8352f61feba73c43b7172d32b3ce
MD5 (mpfr-2.2.0/patch16) = c263ca095dd799eda3fea95a1075f185
RMD160 (mpfr-2.2.0/mpfr-2.2.0.tar.gz) = ea16ccba121eaa3f92b4b2fac31e9a60de9b118b
RMD160 (mpfr-2.2.0/patch01) = 33ac4085abcf25877b8f3146c28493dc8d0b9165
RMD160 (mpfr-2.2.0/patch02) = f620151063559a112a819fef02e466579aa20a7e
RMD160 (mpfr-2.2.0/patch03) = 3b3bd84f07fadce1b58a6ecc43459f5894b0480b
RMD160 (mpfr-2.2.0/patch04) = 45762c533af60b9be6348e870710d37352a0e57a
RMD160 (mpfr-2.2.0/patch05) = 7e60b2be4691235de88646534b64cd12cdc1a45d
RMD160 (mpfr-2.2.0/patch06) = 722f6d253df80957710f7f42958210fba6ec4fd1
RMD160 (mpfr-2.2.0/patch07) = dbefeb07267d554afb95bb8428955a70218026da
RMD160 (mpfr-2.2.0/patch08) = c5d7592c43615d555278921de4a8c0a8eb2ee1fe
RMD160 (mpfr-2.2.0/patch09) = cf9cd75d3f5180c0f43483ca83846ac759d71636
RMD160 (mpfr-2.2.0/patch10) = 8c4e0bf9dffa9270c757493ea9f5498a8facee3e
RMD160 (mpfr-2.2.0/patch11) = 93cfd78f6f8c714ec4271bbee44bc62169bbd160
RMD160 (mpfr-2.2.0/patch12) = e7c180dfd9fd8d9e2d56f05994f4588290dfda34
RMD160 (mpfr-2.2.0/patch13) = 38fdffb30c7871a3bee5a8caf6ffafeadba8957c
RMD160 (mpfr-2.2.0/patch14) = 881c2fc2512c185ef65a22edc096bde6b2826dba
RMD160 (mpfr-2.2.0/patch15) = 8505d576bbe99e3ead7fb6579bc0fb0252c0e16e
RMD160 (mpfr-2.2.0/patch16) = ac7f444e6b1e7e2bd95ff396cd3d60437526cfdd
SHA1 (mpfr-2.2.0/mpfr-2.2.0.tar.gz) = 4b284df87e0adac4d00b573d48ab77ff8ef6de75
SHA1 (mpfr-2.2.0/patch01) = 975146ffff1c5ad1f141a6cf741b95245dd8e91b
SHA1 (mpfr-2.2.0/patch02) = 82b3660bf0fcaecfb6b8569456fbb2aa419420e7
SHA1 (mpfr-2.2.0/patch03) = b5b8d74134ecc62015d141b862ba9f97b5978320
SHA1 (mpfr-2.2.0/patch04) = 495809b7e24760732c6f5757750effb83850e63d
SHA1 (mpfr-2.2.0/patch05) = b2600dead06a074fc4485d1a2f3e4940a1c54134
SHA1 (mpfr-2.2.0/patch06) = bf00dae04a4ed7aa1cc50ba479cb77073adbcd07
SHA1 (mpfr-2.2.0/patch07) = 2ddfa1db2125d696612749a27d275b7e246cd0e8
SHA1 (mpfr-2.2.0/patch08) = 68d023f0391cc4360d6db7aaf322288b7cfa7bb4
SHA1 (mpfr-2.2.0/patch09) = 7e93b9eb080e892b5b78b54eb18f22deaf4f3d27
SHA1 (mpfr-2.2.0/patch10) = 0264ff30edf374486a3b57603d5ebe4f22795a4a
SHA1 (mpfr-2.2.0/patch11) = 649e2976888f4de4aaaf198f5a4801798f99dbd2
SHA1 (mpfr-2.2.0/patch12) = 1fbb1f5588a57e157d1116b20def4e4369cb7309
SHA1 (mpfr-2.2.0/patch13) = 197eb6bf0c5acad867c08866c43c0541d055ad6d
SHA1 (mpfr-2.2.0/patch14) = e27f030e3c4bba98d4003436f7dc9bb7ae292b46
SHA1 (mpfr-2.2.0/patch15) = 3c0333d49b5889af8004854b8d26564c5685fd64
SHA1 (mpfr-2.2.0/patch16) = 88a6ac082addffcfc53b581065e4724e5ebe06fc
SIZE (mpfr-2.2.0/mpfr-2.2.0.tar.gz) = 944299
SIZE (mpfr-2.2.0/patch01) = 1248
SIZE (mpfr-2.2.0/patch02) = 2177
SIZE (mpfr-2.2.0/patch03) = 407
SIZE (mpfr-2.2.0/patch04) = 811
SIZE (mpfr-2.2.0/patch05) = 27251
SIZE (mpfr-2.2.0/patch06) = 835
SIZE (mpfr-2.2.0/patch07) = 1651
SIZE (mpfr-2.2.0/patch08) = 8610
SIZE (mpfr-2.2.0/patch09) = 1550
SIZE (mpfr-2.2.0/patch10) = 5455
SIZE (mpfr-2.2.0/patch11) = 11384
SIZE (mpfr-2.2.0/patch12) = 5627
SIZE (mpfr-2.2.0/patch13) = 2635
SIZE (mpfr-2.2.0/patch14) = 4141
SIZE (mpfr-2.2.0/patch15) = 17949
SIZE (mpfr-2.2.0/patch16) = 1573

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2006/11/01 18:41:21 naddy Exp $
--- Makefile.in.orig Wed Jul 19 17:55:59 2006
+++ Makefile.in Wed Jul 19 17:57:13 2006
@@ -387,7 +387,7 @@ clean-libLTLIBRARIES:
rm -f "$${dir}/so_locations"; \
done
libmpfr.la: $(libmpfr_la_OBJECTS) $(libmpfr_la_DEPENDENCIES)
- $(LINK) -rpath $(libdir) $(libmpfr_la_LDFLAGS) $(libmpfr_la_OBJECTS) $(libmpfr_la_LIBADD) $(LIBS)
+ $(LINK) -rpath $(libdir) $(libmpfr_la_LDFLAGS) $(libmpfr_la_OBJECTS) $(libmpfr_la_LIBADD)
tuneup$(EXEEXT): $(tuneup_OBJECTS) $(tuneup_DEPENDENCIES)
@rm -f tuneup$(EXEEXT)
$(LINK) $(tuneup_LDFLAGS) $(tuneup_OBJECTS) $(tuneup_LDADD) $(LIBS)

8
devel/mpfr/pkg/DESCR Normal file
View File

@ -0,0 +1,8 @@
The MPFR library is a C library for multiple-precision floating-point
computations with exact rounding (also called correct rounding).
It is based on the GMP multiple-precision library.
The main goal of MPFR is to provide a library for multiple-precision
floating-point computation which is both efficient and has well-defined
semantics. It copies the good ideas from the ANSI/IEEE-754 standard
for double-precision floating-point arithmetic (53-bit mantissa).

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2006/11/01 18:41:21 naddy Exp $
@lib lib/libmpfr.so.${LIBmpfr_VERSION}

8
devel/mpfr/pkg/PLIST Normal file
View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/01 18:41:21 naddy Exp $
@conflict gmp-<4.2
%%SHARED%%
include/mpf2mpfr.h
include/mpfr.h
@info info/mpfr.info
lib/libmpfr.a
lib/libmpfr.la