aboutsummaryrefslogtreecommitdiff
path: root/math/suitesparse-klu/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2021-05-24 16:42:48 +0000
committerThierry Thomas <thierry@FreeBSD.org>2021-05-25 10:00:07 +0000
commit14cd75c20d1a7e6b1b35d3af7e87e7105e8d7ec1 (patch)
treebe63ae4d97f1e824bc5cc43df34b0118160d4729 /math/suitesparse-klu/Makefile
parent21ddf7a6bedcb93b9a6a36de9e362b24b549e47e (diff)
downloadports-14cd75c20d1a7e6b1b35d3af7e87e7105e8d7ec1.tar.gz
ports-14cd75c20d1a7e6b1b35d3af7e87e7105e8d7ec1.zip
suitesparse-klu: new port for the module KLU of SuiteSparse
Diffstat (limited to 'math/suitesparse-klu/Makefile')
-rw-r--r--math/suitesparse-klu/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/math/suitesparse-klu/Makefile b/math/suitesparse-klu/Makefile
new file mode 100644
index 000000000000..f1096b2dcc5e
--- /dev/null
+++ b/math/suitesparse-klu/Makefile
@@ -0,0 +1,25 @@
+# Created by: Thierry Thomas (<thierry@pompo.net>)
+
+PORTNAME= KLU
+PORTVERSION= 1.3.9
+CATEGORIES= math
+
+COMMENT= Sparse LU factorization, for circuit simulation
+
+LICENSE= LGPL21+
+
+LIB_DEPENDS= libmetis.so:math/metis \
+ libamd.so:math/suitesparse-amd \
+ libbtf.so:math/suitesparse-btf \
+ libcamd.so:math/suitesparse-camd \
+ libcolamd.so:math/suitesparse-colamd \
+ libccolamd.so:math/suitesparse-ccolamd \
+ libcholmod.so:math/suitesparse-cholmod
+
+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>