git: 7874aed7499c - main - math/suitesparse-colamd: upgrade to 3.0.0

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

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

commit 7874aed7499c0f7e3a64ab2357ac9108d9e2f79f
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-11-14 16:47:14 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-11-27 11:09:54 +0000

    math/suitesparse-colamd: upgrade to 3.0.0
    
    PR:             267742
---
 math/suitesparse-colamd/Makefile                         |  9 +++++++--
 math/suitesparse-colamd/files/patch-COLAMD_Demo_Makefile | 10 ----------
 math/suitesparse-colamd/pkg-plist                        |  6 ++++--
 3 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/math/suitesparse-colamd/Makefile b/math/suitesparse-colamd/Makefile
index 76c5d3c821cd..d3580e91d434 100644
--- a/math/suitesparse-colamd/Makefile
+++ b/math/suitesparse-colamd/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	${MPORTNAME:tl}
-PORTVERSION=	2.9.6
+PORTVERSION=	3.0.0
 CATEGORIES=	math
 
 COMMENT=	Column approximate minimum degree ordering algorithm
@@ -8,10 +8,15 @@ WWW=		https://faculty.cse.tamu.edu/davis/suitesparse.html
 LICENSE=	BSD3CLAUSE
 
 USES=		localbase:ldflags
-OMP_NEEDED=	yes
 
 MPORTNAME=	COLAMD
 USE_LDCONFIG=	yes
 
 .include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
+
+post-stage-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${BUILD_WRKSRC}/README.txt	\
+		${STAGEDIR}${DOCSDIR}/${MPORTNAME}_README.txt
+
 .include <bsd.port.post.mk>
diff --git a/math/suitesparse-colamd/files/patch-COLAMD_Demo_Makefile b/math/suitesparse-colamd/files/patch-COLAMD_Demo_Makefile
deleted file mode 100644
index 8472a58a100c..000000000000
--- a/math/suitesparse-colamd/files/patch-COLAMD_Demo_Makefile
+++ /dev/null
@@ -1,10 +0,0 @@
---- COLAMD/Demo/Makefile.orig	2021-05-21 20:12:41 UTC
-+++ COLAMD/Demo/Makefile
-@@ -15,7 +15,6 @@ LIB2 = $(LDFLAGS) -L../../lib -lcolamd -lsuitesparseco
- all: library colamd_example colamd_l_example
- 
- library:
--	( cd ../../SuiteSparse_config ; $(MAKE) )
- 	( cd ../Lib ; $(MAKE) )
- 
- #------------------------------------------------------------------------------
diff --git a/math/suitesparse-colamd/pkg-plist b/math/suitesparse-colamd/pkg-plist
index 0b84a4534363..5f446775fae8 100644
--- a/math/suitesparse-colamd/pkg-plist
+++ b/math/suitesparse-colamd/pkg-plist
@@ -1,5 +1,7 @@
 include/suitesparse/colamd.h
+lib/cmake/SuiteSparse/FindCOLAMD.cmake
+lib/libcolamd.a
 lib/libcolamd.so
-lib/libcolamd.so.2
-lib/libcolamd.so.2.9.6
+lib/libcolamd.so.3
+lib/libcolamd.so.3.0.0
 %%PORTDOCS%%%%DOCSDIR%%/COLAMD_README.txt