freebsd-ports/math/mpdecimal/Makefile
Steve Wills f721cb26b0 math/mpdecimal: create port
libmpdec is a complete C implementation of the General Decimal Arithmetic
Specification.  The specification, written by Mike Cowlishaw from IBM,
defines a general purpose arbitrary precision data type together with
rigorously specified functions and rounding behavior.  As described in the
scope section of the specification, libmpdec will - with minor restrictions -
also conform to the IEEE 754-2008 Standard for Floating-Point Arithmetic,
provided that the appropriate context parameters are set.

libmpdec++ is a complete C++ implementation of the General Decimal Arithmetic
Specification. libmpdec++ is mostly a header library around libmpdec.  The
library frees users from manual memory management and has an easy API with
inline operators.  libmpdec++ has a thread local context for inline operators
and other functions that use the implicit context.

WWW: https://www.bytereef.org/mpdecimal/index.html

PR:		253084
Submitted by:	Stefan Krah <skrah@bytereef.org>
2021-02-05 03:27:37 +00:00

29 lines
621 B
Makefile

# $FreeBSD$
PORTNAME= mpdecimal
DISTVERSION= 2.5.1
CATEGORIES= math
MASTER_SITES= https://www.bytereef.org/software/mpdecimal/releases/
MAINTAINER= skrah@bytereef.org
COMMENT= C/C++ arbitrary precision decimal floating point libraries
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= gmake
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
ALL_TARGET= default
TEST_TARGET= check_local
PORTDOCS= libmpdec++/* libmpdec/*
OPTIONS_DEFINE= DOCS
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpdec.so.${DISTVERSION}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpdec++.so.${DISTVERSION}
.include <bsd.port.mk>