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 () + +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 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