git: 136bbc120786 - main - math/mpc: Update to 1.4.0

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 28 Mar 2026 16:43:36 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=136bbc12078687a5e282462583101b6ff7af4a79

commit 136bbc12078687a5e282462583101b6ff7af4a79
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2026-03-28 16:09:16 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2026-03-28 16:43:22 +0000

    math/mpc: Update to 1.4.0
    
    * Adjust port Makefile to follow Porters Handbook more closely
    
    Changelog:
    https://gitlab.inria.fr/mpc/mpc/-/blob/1.4.0/NEWS?ref_type=tags
    
    PR:             294087
    Reviewed by:    gerald (maintainer)
---
 math/mpc/Makefile | 17 +++++++++++------
 math/mpc/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/math/mpc/Makefile b/math/mpc/Makefile
index 7ee8f9c2ee7f..0c5fd86c3d97 100644
--- a/math/mpc/Makefile
+++ b/math/mpc/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	mpc
-PORTVERSION=	1.3.1
-PORTREVISION=	1
+DISTVERSION=	1.4.0
 CATEGORIES=	math devel
 MASTER_SITES=	GNU
 
@@ -14,16 +13,22 @@ LICENSE_FILE=	${WRKSRC}/COPYING.LESSER
 LIB_DEPENDS=	libgmp.so:math/gmp \
 		libmpfr.so:math/mpfr
 
+USES=		libtool pathfix tar:xz
+USE_LDCONFIG=	yes
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-gmp=${LOCALBASE} \
 		--with-mpfr=${LOCALBASE}
+
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
-USES=		libtool
-USE_LDCONFIG=	yes
 
 INFO=		mpc
-PLIST_FILES=	include/mpc.h \
-		lib/libmpc.a lib/libmpc.so lib/libmpc.so.3 lib/libmpc.so.3.3.1
+PLIST_FILES=	include/mpc.h 			\
+		lib/libmpc.a 			\
+		lib/libmpc.so 			\
+		lib/libmpc.so.3 		\
+		lib/libmpc.so.3.4.0		\
+		libdata/pkgconfig/mpc.pc
 
 .include <bsd.port.mk>
diff --git a/math/mpc/distinfo b/math/mpc/distinfo
index dddcaeb00316..7571b7af7f1e 100644
--- a/math/mpc/distinfo
+++ b/math/mpc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1679993201
-SHA256 (mpc-1.3.1.tar.gz) = ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8
-SIZE (mpc-1.3.1.tar.gz) = 773573
+TIMESTAMP = 1774659290
+SHA256 (mpc-1.4.0.tar.xz) = 3210b3a546b1cb00c296ca360891d7740ee6ff06deb02a27a35b20cd3c0bb1a5
+SIZE (mpc-1.4.0.tar.xz) = 532056