aboutsummaryrefslogtreecommitdiff
path: root/math/suitesparse-graphblas/Makefile
blob: 4aebdb2b0b88a47ce6ca75512832e7e4e7bb1497 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
PORTNAME=	${MPORTNAME:tl}
PORTVERSION=	10.2.0
CATEGORIES=	math

COMMENT=	Graph algorithms in the language of linear algebra
WWW=		https://graphblas.org/

LICENSE=	APACHE20

USES=		localbase:ldflags pathfix

MPORTNAME=	GraphBLAS
CMAKE_ARGS+=	-DGRAPHBLAS_COMPACT:BOOL=On	\
		-DGRAPHBLAS_USE_JIT:BOOL=On
USE_LDCONFIG=	yes

PORTDOCS=	GraphBLAS_API_C_v2.1.0.pdf	\
		GraphBLAS_UserGuide.pdf

.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"

post-stage-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
	${INSTALL_DATA} ${BUILD_WRKSRC}/Doc/${doc} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.post.mk>