git: 4a06093726b2 - main - suitesparse-amd: new port for the module AMD of SuiteSparse

Thierry Thomas thierry at FreeBSD.org
Tue May 25 10:13:35 UTC 2021


The branch main has been updated by thierry:

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

commit 4a06093726b2650242192a9cca45b8debb18256c
Author:     Thierry Thomas <thierry at FreeBSD.org>
AuthorDate: 2021-05-24 16:37:22 +0000
Commit:     Thierry Thomas <thierry at FreeBSD.org>
CommitDate: 2021-05-25 10:00:02 +0000

    suitesparse-amd: new port for the module AMD of SuiteSparse
---
 math/suitesparse-amd/Makefile  | 24 ++++++++++++++++++++++++
 math/suitesparse-amd/pkg-descr |  6 ++++++
 math/suitesparse-amd/pkg-plist |  7 +++++++
 3 files changed, 37 insertions(+)

diff --git a/math/suitesparse-amd/Makefile b/math/suitesparse-amd/Makefile
new file mode 100644
index 000000000000..d48318342f9a
--- /dev/null
+++ b/math/suitesparse-amd/Makefile
@@ -0,0 +1,24 @@
+# Created by: Thierry Thomas (<thierry at pompo.net>)
+
+PORTNAME=	AMD
+PORTVERSION=	2.4.6
+CATEGORIES=	math
+
+COMMENT=	Symmetric approximate minimum degree
+
+LICENSE=	BSD3CLAUSE
+
+USES=		fortran localbase:ldflags
+OMP_NEEDED=	yes
+
+BUILD_WRKSRC=	${WRKSRC}/${PORTNAME}
+ALL_TARGET+=	fortran
+USE_LDCONFIG=	yes
+
+.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
+
+post-stage:
+	${INSTALL_DATA} ${BUILD_WRKSRC}/Lib/libamdf77.a	\
+		${STAGEDIR}${PREFIX}/lib/
+
+.include <bsd.port.post.mk>
diff --git a/math/suitesparse-amd/pkg-descr b/math/suitesparse-amd/pkg-descr
new file mode 100644
index 000000000000..5452afac4a73
--- /dev/null
+++ b/math/suitesparse-amd/pkg-descr
@@ -0,0 +1,6 @@
+This port installs the module AMD of SuiteSparse.
+
+AMD is a set of routines for pre-ordering sparse matrices prior to Cholesky
+or LU factorization, using the approximate minimum degree ordering algorithm.
+
+WWW: http://faculty.cse.tamu.edu/davis/suitesparse.html
diff --git a/math/suitesparse-amd/pkg-plist b/math/suitesparse-amd/pkg-plist
new file mode 100644
index 000000000000..8b494b692a57
--- /dev/null
+++ b/math/suitesparse-amd/pkg-plist
@@ -0,0 +1,7 @@
+include/suitesparse/amd.h
+lib/libamd.so
+lib/libamd.so.2
+lib/libamd.so.2.4.6
+lib/libamdf77.a
+%%PORTDOCS%%%%DOCSDIR%%/AMD_README.txt
+%%PORTDOCS%%%%DOCSDIR%%/AMD_UserGuide.pdf


More information about the dev-commits-ports-all mailing list