git: 4b3e43d8ede8 - main - math/suitesparse-cxsparse: upgrade to 4.0.0

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

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

commit 4b3e43d8ede82fa663ca8d9d5ed8faac35bed3f8
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-11-14 16:53:23 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-11-27 11:09:54 +0000

    math/suitesparse-cxsparse: upgrade to 4.0.0
    
    PR:             267742
---
 math/suitesparse-cxsparse/Makefile                      |  9 +++++++--
 math/suitesparse-cxsparse/files/patch-CXSparse_Makefile | 11 -----------
 math/suitesparse-cxsparse/pkg-plist                     |  8 +++++---
 3 files changed, 12 insertions(+), 16 deletions(-)

diff --git a/math/suitesparse-cxsparse/Makefile b/math/suitesparse-cxsparse/Makefile
index 528583c08046..57f1e2e8e670 100644
--- a/math/suitesparse-cxsparse/Makefile
+++ b/math/suitesparse-cxsparse/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	${MPORTNAME:tl}
-PORTVERSION=	3.2.0
+PORTVERSION=	4.0.0
 CATEGORIES=	math
 
 COMMENT=	Extended version of CSparse
@@ -8,10 +8,15 @@ WWW=		https://faculty.cse.tamu.edu/davis/suitesparse.html
 LICENSE=	LGPL21+
 
 USES=		localbase:ldflags
-OMP_NEEDED=	yes
 
 MPORTNAME=	CXSparse
 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-cxsparse/files/patch-CXSparse_Makefile b/math/suitesparse-cxsparse/files/patch-CXSparse_Makefile
deleted file mode 100644
index e055d6e9f970..000000000000
--- a/math/suitesparse-cxsparse/files/patch-CXSparse_Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- CXSparse/Makefile.orig	2021-05-17 01:04:52 UTC
-+++ CXSparse/Makefile
-@@ -13,7 +13,7 @@ C:
- 	( cd Lib ; $(MAKE) )
- 	( cd Demo ; $(MAKE) )
- 
--all: C cov
-+all: C
- 
- library:
- 	( cd Lib ; $(MAKE) )
diff --git a/math/suitesparse-cxsparse/pkg-plist b/math/suitesparse-cxsparse/pkg-plist
index 781f50f0c689..ac4db8feb846 100644
--- a/math/suitesparse-cxsparse/pkg-plist
+++ b/math/suitesparse-cxsparse/pkg-plist
@@ -1,5 +1,7 @@
 include/suitesparse/cs.h
+lib/cmake/SuiteSparse/FindCXSparse.cmake
+lib/libcxsparse.a
 lib/libcxsparse.so
-lib/libcxsparse.so.3
-lib/libcxsparse.so.3.2.0
-%%PORTDOCS%%%%DOCSDIR%%/CXSPARSE_README.txt
+lib/libcxsparse.so.4
+lib/libcxsparse.so.4.0.0
+%%PORTDOCS%%%%DOCSDIR%%/CXSparse_README.txt