git: f78b8c777f64 - main - suitesparse-cxsparse: new port for the module CXSparse of SuiteSparse
Thierry Thomas
thierry at FreeBSD.org
Tue May 25 10:13:44 UTC 2021
The branch main has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f78b8c777f64eca01c547af5b0b23e58067a14e1
commit f78b8c777f64eca01c547af5b0b23e58067a14e1
Author: Thierry Thomas <thierry at FreeBSD.org>
AuthorDate: 2021-05-24 16:41:50 +0000
Commit: Thierry Thomas <thierry at FreeBSD.org>
CommitDate: 2021-05-25 10:00:06 +0000
suitesparse-cxsparse: new port for the module CXSparse of SuiteSparse
---
math/suitesparse-cxsparse/Makefile | 18 ++++++++++++++++++
.../suitesparse-cxsparse/files/patch-CXSparse_Makefile | 11 +++++++++++
math/suitesparse-cxsparse/pkg-descr | 6 ++++++
math/suitesparse-cxsparse/pkg-plist | 5 +++++
4 files changed, 40 insertions(+)
diff --git a/math/suitesparse-cxsparse/Makefile b/math/suitesparse-cxsparse/Makefile
new file mode 100644
index 000000000000..8b3c347a8ae3
--- /dev/null
+++ b/math/suitesparse-cxsparse/Makefile
@@ -0,0 +1,18 @@
+# Created by: Thierry Thomas (<thierry at pompo.net>)
+
+PORTNAME= CXSparse
+PORTVERSION= 3.2.0
+CATEGORIES= math
+
+COMMENT= Extended version of CSparse
+
+LICENSE= LGPL21+
+
+USES= localbase:ldflags
+OMP_NEEDED= yes
+
+BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
+USE_LDCONFIG= yes
+
+.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
+.include <bsd.port.post.mk>
diff --git a/math/suitesparse-cxsparse/files/patch-CXSparse_Makefile b/math/suitesparse-cxsparse/files/patch-CXSparse_Makefile
new file mode 100644
index 000000000000..e055d6e9f970
--- /dev/null
+++ b/math/suitesparse-cxsparse/files/patch-CXSparse_Makefile
@@ -0,0 +1,11 @@
+--- 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-descr b/math/suitesparse-cxsparse/pkg-descr
new file mode 100644
index 000000000000..c1fbd7f657e7
--- /dev/null
+++ b/math/suitesparse-cxsparse/pkg-descr
@@ -0,0 +1,6 @@
+This port installs the module CXSparse of SuiteSparse.
+
+CXSparse is a version of CSparse that operates on both real and complex
+matrices, using either int or SuiteSparse_long integers.
+
+WWW: http://faculty.cse.tamu.edu/davis/suitesparse.html
diff --git a/math/suitesparse-cxsparse/pkg-plist b/math/suitesparse-cxsparse/pkg-plist
new file mode 100644
index 000000000000..781f50f0c689
--- /dev/null
+++ b/math/suitesparse-cxsparse/pkg-plist
@@ -0,0 +1,5 @@
+include/suitesparse/cs.h
+lib/libcxsparse.so
+lib/libcxsparse.so.3
+lib/libcxsparse.so.3.2.0
+%%PORTDOCS%%%%DOCSDIR%%/CXSPARSE_README.txt
More information about the dev-commits-ports-all
mailing list