git: 81ab3f88bfe1 - main - math/mpdecimal: update to version 4.0.0

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Tue, 19 Mar 2024 14:20:33 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=81ab3f88bfe1460be797cc68205fa6a0a47bdbdb

commit 81ab3f88bfe1460be797cc68205fa6a0a47bdbdb
Author:     Stefan Krah <skrah@bytereef.org>
AuthorDate: 2024-01-18 21:35:30 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-03-19 14:18:30 +0000

    math/mpdecimal: update to version 4.0.0
    
     - move man pages to share/man
    
    Changelog: https://www.bytereef.org/mpdecimal/changelog.html
    
    PR:             276444
    Reviewed by:    antoine (exp-run)
---
 math/mpdecimal/Makefile  |  9 +++------
 math/mpdecimal/distinfo  |  6 +++---
 math/mpdecimal/pkg-plist | 14 ++++++++++----
 3 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/math/mpdecimal/Makefile b/math/mpdecimal/Makefile
index ae4b93e90312..90bdcf61adcd 100644
--- a/math/mpdecimal/Makefile
+++ b/math/mpdecimal/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	mpdecimal
-DISTVERSION=	2.5.1
+DISTVERSION=	4.0.0
 CATEGORIES=	math
 MASTER_SITES=	https://www.bytereef.org/software/mpdecimal/releases/
 
@@ -8,19 +8,16 @@ COMMENT=	C/C++ arbitrary precision decimal floating point libraries
 WWW=		https://www.bytereef.org/mpdecimal/index.html
 
 LICENSE=	BSD2CLAUSE
-LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+LICENSE_FILE=	${WRKSRC}/COPYRIGHT.txt
 
 USES=		compiler:c++11-lang gmake
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USE_LDCONFIG=	yes
 ALL_TARGET=	default
 TEST_TARGET=	check_local
 
-PORTDOCS=	libmpdec++/* libmpdec/*
-
-OPTIONS_DEFINE=	DOCS
-
 .include <bsd.port.pre.mk>
 
 .if ${CHOSEN_COMPILER_TYPE} == gcc
diff --git a/math/mpdecimal/distinfo b/math/mpdecimal/distinfo
index de2674b55245..e2dccc54dba9 100644
--- a/math/mpdecimal/distinfo
+++ b/math/mpdecimal/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1611939573
-SHA256 (mpdecimal-2.5.1.tar.gz) = 9f9cd4c041f99b5c49ffb7b59d9f12d95b683d88585608aa56a6307667b2b21f
-SIZE (mpdecimal-2.5.1.tar.gz) = 2584021
+TIMESTAMP = 1705611012
+SHA256 (mpdecimal-4.0.0.tar.gz) = 942445c3245b22730fd41a67a7c5c231d11cb1b9936b9c0f76334fb7d0b4468c
+SIZE (mpdecimal-4.0.0.tar.gz) = 315325
diff --git a/math/mpdecimal/pkg-plist b/math/mpdecimal/pkg-plist
index 8232710fee59..e5528a23a04f 100644
--- a/math/mpdecimal/pkg-plist
+++ b/math/mpdecimal/pkg-plist
@@ -2,9 +2,15 @@ include/decimal.hh
 include/mpdecimal.h
 lib/libmpdec++.a
 lib/libmpdec++.so
-lib/libmpdec++.so.3
-lib/libmpdec++.so.2.5.1
+lib/libmpdec++.so.4
+lib/libmpdec++.so.4.0.0
 lib/libmpdec.a
 lib/libmpdec.so
-lib/libmpdec.so.3
-lib/libmpdec.so.2.5.1
+lib/libmpdec.so.4
+lib/libmpdec.so.4.0.0
+libdata/pkgconfig/libmpdec++.pc
+libdata/pkgconfig/libmpdec.pc
+share/man/man3/libmpdec++.3.gz
+share/man/man3/libmpdec.3.gz
+share/man/man3/mpdecimal.3.gz
+share/doc/mpdecimal/COPYRIGHT.txt