git: f3dcbd64371e - main - math/suitesparse-amd: upgrade to 3.0.0

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sun, 27 Nov 2022 11:10:07 UTC
The branch main has been updated by thierry:

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

commit f3dcbd64371ed37bc4889e62b245258ccc4017f0
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-11-14 16:40:46 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-11-27 11:09:52 +0000

    math/suitesparse-amd: upgrade to 3.0.0
    
    PR:             267742
---
 math/suitesparse-amd/Makefile  | 15 ++++++++-------
 math/suitesparse-amd/pkg-plist |  7 ++++---
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/math/suitesparse-amd/Makefile b/math/suitesparse-amd/Makefile
index afeb999414f5..3e9c15da6e1f 100644
--- a/math/suitesparse-amd/Makefile
+++ b/math/suitesparse-amd/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	${MPORTNAME:tl}
-PORTVERSION=	2.4.6
+PORTVERSION=	3.0.0
 CATEGORIES=	math
 
 COMMENT=	Symmetric approximate minimum degree
@@ -7,17 +7,18 @@ WWW=		https://faculty.cse.tamu.edu/davis/suitesparse.html
 
 LICENSE=	BSD3CLAUSE
 
-USES=		fortran localbase:ldflags
-OMP_NEEDED=	yes
+USES=		localbase:ldflags
 
 MPORTNAME=	AMD
-ALL_TARGET+=	fortran
 USE_LDCONFIG=	yes
 
 .include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
 
-post-stage:
-	${INSTALL_DATA} ${BUILD_WRKSRC}/Lib/libamdf77.a	\
-		${STAGEDIR}${PREFIX}/lib/
+post-stage-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${BUILD_WRKSRC}/README.txt	\
+		${STAGEDIR}${DOCSDIR}/${MPORTNAME}_README.txt
+	${INSTALL_DATA} ${BUILD_WRKSRC}/Doc/AMD_UserGuide.pdf	\
+		${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.post.mk>
diff --git a/math/suitesparse-amd/pkg-plist b/math/suitesparse-amd/pkg-plist
index 8b494b692a57..5a55ec52f959 100644
--- a/math/suitesparse-amd/pkg-plist
+++ b/math/suitesparse-amd/pkg-plist
@@ -1,7 +1,8 @@
 include/suitesparse/amd.h
+lib/cmake/SuiteSparse/FindAMD.cmake
+lib/libamd.a
 lib/libamd.so
-lib/libamd.so.2
-lib/libamd.so.2.4.6
-lib/libamdf77.a
+lib/libamd.so.3
+lib/libamd.so.3.0.0
 %%PORTDOCS%%%%DOCSDIR%%/AMD_README.txt
 %%PORTDOCS%%%%DOCSDIR%%/AMD_UserGuide.pdf