git: 6af0365bd94c - main - math/suitesparse-ccolamd: upgrade to 3.0.0

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

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

commit 6af0365bd94cddde78854c04a351d1379b9a7171
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-11-14 16:45:47 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-11-27 11:09:53 +0000

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

diff --git a/math/suitesparse-ccolamd/Makefile b/math/suitesparse-ccolamd/Makefile
index 5b4dc0a3789d..1368af479dc7 100644
--- a/math/suitesparse-ccolamd/Makefile
+++ b/math/suitesparse-ccolamd/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	${MPORTNAME:tl}
-PORTVERSION=	2.9.6
+PORTVERSION=	3.0.0
 CATEGORIES=	math
 
 COMMENT=	Constrained column approximate minimum degree ordering
@@ -8,10 +8,15 @@ WWW=		https://faculty.cse.tamu.edu/davis/suitesparse.html
 LICENSE=	BSD3CLAUSE
 
 USES=		localbase:ldflags
-OMP_NEEDED=	yes
 
 MPORTNAME=	CCOLAMD
 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-ccolamd/files/patch-CCOLAMD_Demo_Makefile b/math/suitesparse-ccolamd/files/patch-CCOLAMD_Demo_Makefile
deleted file mode 100644
index 98112a33e069..000000000000
--- a/math/suitesparse-ccolamd/files/patch-CCOLAMD_Demo_Makefile
+++ /dev/null
@@ -1,10 +0,0 @@
---- CCOLAMD/Demo/Makefile.orig	2021-05-17 01:04:52 UTC
-+++ CCOLAMD/Demo/Makefile
-@@ -15,7 +15,6 @@ LIB2 = $(LDFLAGS) -L../../lib -lccolamd -lsuitesparsec
- all: library ccolamd_example ccolamd_l_example
- 
- library:
--	( cd ../../SuiteSparse_config ; $(MAKE) )
- 	( cd ../Lib ; $(MAKE) )
- 
- #------------------------------------------------------------------------------
diff --git a/math/suitesparse-ccolamd/pkg-plist b/math/suitesparse-ccolamd/pkg-plist
index 7330d08927fc..0c558b56703e 100644
--- a/math/suitesparse-ccolamd/pkg-plist
+++ b/math/suitesparse-ccolamd/pkg-plist
@@ -1,5 +1,7 @@
 include/suitesparse/ccolamd.h
+lib/cmake/SuiteSparse/FindCCOLAMD.cmake
+lib/libccolamd.a
 lib/libccolamd.so
-lib/libccolamd.so.2
-lib/libccolamd.so.2.9.6
+lib/libccolamd.so.3
+lib/libccolamd.so.3.0.0
 %%PORTDOCS%%%%DOCSDIR%%/CCOLAMD_README.txt