View | Details | Raw Unified | Return to bug 253084
Collapse All | Expand All

(-)math/mpdecimal/Makefile (+29 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	mpdecimal
4
DISTVERSION=	2.5.1
5
CATEGORIES=	math
6
MASTER_SITES=	https://www.bytereef.org/software/mpdecimal/releases/
7
8
MAINTAINER=	skrah@bytereef.org
9
COMMENT=	C/C++ arbitrary precision decimal floating point libraries
10
11
LICENSE=	BSD2CLAUSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
13
14
USES=		gmake
15
16
GNU_CONFIGURE=	yes
17
USE_LDCONFIG=	yes
18
ALL_TARGET=	default
19
TEST_TARGET=	check_local
20
21
PORTDOCS=	libmpdec/* libmpdec++/*
22
23
OPTIONS_DEFINE=	DOCS
24
25
post-install:
26
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpdec.so.${DISTVERSION}
27
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpdec++.so.${DISTVERSION}
28
29
.include <bsd.port.mk>
(-)math/mpdecimal/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1611939573
2
SHA256 (mpdecimal-2.5.1.tar.gz) = 9f9cd4c041f99b5c49ffb7b59d9f12d95b683d88585608aa56a6307667b2b21f
3
SIZE (mpdecimal-2.5.1.tar.gz) = 2584021
(-)math/mpdecimal/pkg-descr (+16 lines)
Line 0 Link Here
1
libmpdec is a complete C implementation of the General Decimal Arithmetic
2
Specification.  The specification, written by Mike Cowlishaw from IBM,
3
defines a general purpose arbitrary precision data type together with
4
rigorously specified functions and rounding behavior.  As described in the
5
scope section of the specification, libmpdec will - with minor restrictions -
6
also conform to the IEEE 754-2008 Standard for Floating-Point Arithmetic,
7
provided that the appropriate context parameters are set.
8
9
libmpdec++ is a complete C++ implementation of the General Decimal Arithmetic
10
Specification. libmpdec++ is mostly a header library around libmpdec.  The
11
library frees users from manual memory management and has an easy API with
12
inline operators.  libmpdec++ has a thread local context for inline operators
13
and other functions that use the implicit context.
14
15
16
WWW: https://www.bytereef.org/mpdecimal/index.html
(-)math/mpdecimal/pkg-plist (+10 lines)
Line 0 Link Here
1
include/decimal.hh
2
include/mpdecimal.h
3
lib/libmpdec++.a
4
lib/libmpdec++.so
5
lib/libmpdec++.so.3
6
lib/libmpdec++.so.2.5.1
7
lib/libmpdec.a
8
lib/libmpdec.so
9
lib/libmpdec.so.3
10
lib/libmpdec.so.2.5.1

Return to bug 253084