diff --git a/math/suitesparse-graphblas/Makefile b/math/suitesparse-graphblas/Makefile new file mode 100644 index 000000000000..027344cb495b --- /dev/null +++ b/math/suitesparse-graphblas/Makefile @@ -0,0 +1,32 @@ +# Created by: Thierry Thomas () + +PORTNAME= GraphBLAS +PORTVERSION= 5.0.5 +CATEGORIES= math + +COMMENT= Graph algorithms in the language of linear algebra + +LICENSE= APACHE20 + +USES= cmake:insource localbase:ldflags +OMP_NEEDED= yes +BUILD_WRKSRC= ${WRKSRC}/${PORTNAME} +USE_LDCONFIG= yes + +PORTDOCS= CSC20_OpenMP_GraphBLAS.pdf GraphBLAS_API_C_v13.pdf \ + GraphBLAS_UserGuide.pdf HPEC19.pdf lagraph-grapl19.pdf \ + toms_graphblas.pdf + +.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk" + +pre-configure-OPENMP-off: + ${REINPLACE_CMD} -e '/find_package.*OpenMP/d' \ + ${WRKSRC}/GraphBLAS/CMakeLists.txt + +post-stage-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for doc in ${PORTDOCS} + ${INSTALL_DATA} ${BUILD_WRKSRC}/Doc/${doc} ${STAGEDIR}${DOCSDIR} +.endfor + +.include diff --git a/math/suitesparse-graphblas/pkg-descr b/math/suitesparse-graphblas/pkg-descr new file mode 100644 index 000000000000..aeaa64bd8c9e --- /dev/null +++ b/math/suitesparse-graphblas/pkg-descr @@ -0,0 +1,11 @@ +This port installs the module GraphBLAS of SuiteSparse. + +SuiteSparse:GraphBLAS is a complete implementation of the GraphBLAS +standard, which defines a set of sparse matrix operations on an extended +algebra of semirings using an almost unlimited variety of operators and +types. When applied to sparse adjacency matrices, these algebraic +operations are equivalent to computations on graphs. GraphBLAS provides +a powerful and expressive framework for creating graph algorithms based +on the elegant mathematics of sparse matrix operations on a semiring. + +WWW: http://faculty.cse.tamu.edu/davis/suitesparse.html diff --git a/math/suitesparse-graphblas/pkg-plist b/math/suitesparse-graphblas/pkg-plist new file mode 100644 index 000000000000..b8328461e62c --- /dev/null +++ b/math/suitesparse-graphblas/pkg-plist @@ -0,0 +1,5 @@ +include/suitesparse/GraphBLAS.h +lib/libgraphblas.a +lib/libgraphblas.so +lib/libgraphblas.so.5 +lib/libgraphblas.so.5.0.4