From owner-svn-ports-all@freebsd.org Fri Feb 5 03:27:39 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3305453ADFD; Fri, 5 Feb 2021 03:27:39 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DX17v0wjnz3vnR; Fri, 5 Feb 2021 03:27:39 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0848B17775; Fri, 5 Feb 2021 03:27:39 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 1153RcP4078092; Fri, 5 Feb 2021 03:27:38 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 1153RcLB078088; Fri, 5 Feb 2021 03:27:38 GMT (envelope-from swills@FreeBSD.org) Message-Id: <202102050327.1153RcLB078088@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Fri, 5 Feb 2021 03:27:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r564081 - in head/math: . mpdecimal X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/math: . mpdecimal X-SVN-Commit-Revision: 564081 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2021 03:27:39 -0000 Author: swills Date: Fri Feb 5 03:27:37 2021 New Revision: 564081 URL: https://svnweb.freebsd.org/changeset/ports/564081 Log: 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 Added: head/math/mpdecimal/ head/math/mpdecimal/Makefile (contents, props changed) head/math/mpdecimal/distinfo (contents, props changed) head/math/mpdecimal/pkg-descr (contents, props changed) head/math/mpdecimal/pkg-plist (contents, props changed) Modified: head/math/Makefile (contents, props changed) Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Fri Feb 5 03:22:32 2021 (r564080) +++ head/math/Makefile Fri Feb 5 03:27:37 2021 (r564081) @@ -420,6 +420,7 @@ SUBDIR += moab SUBDIR += moo SUBDIR += mpc + SUBDIR += mpdecimal SUBDIR += mpexpr SUBDIR += mpfi SUBDIR += mpfr Added: head/math/mpdecimal/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/mpdecimal/Makefile Fri Feb 5 03:27:37 2021 (r564081) @@ -0,0 +1,29 @@ +# $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 Added: head/math/mpdecimal/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/mpdecimal/distinfo Fri Feb 5 03:27:37 2021 (r564081) @@ -0,0 +1,3 @@ +TIMESTAMP = 1611939573 +SHA256 (mpdecimal-2.5.1.tar.gz) = 9f9cd4c041f99b5c49ffb7b59d9f12d95b683d88585608aa56a6307667b2b21f +SIZE (mpdecimal-2.5.1.tar.gz) = 2584021 Added: head/math/mpdecimal/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/mpdecimal/pkg-descr Fri Feb 5 03:27:37 2021 (r564081) @@ -0,0 +1,16 @@ +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 Added: head/math/mpdecimal/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/mpdecimal/pkg-plist Fri Feb 5 03:27:37 2021 (r564081) @@ -0,0 +1,10 @@ +include/decimal.hh +include/mpdecimal.h +lib/libmpdec++.a +lib/libmpdec++.so +lib/libmpdec++.so.3 +lib/libmpdec++.so.2.5.1 +lib/libmpdec.a +lib/libmpdec.so +lib/libmpdec.so.3 +lib/libmpdec.so.2.5.1