aboutsummaryrefslogtreecommitdiff
path: root/math/suitesparse-graphblas/Makefile
blob: b5b418ac284eaeda76a5ae827429b92c0dd501e2 (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
29
30
31
32
33
34
# Created by: Thierry Thomas (<thierry@pompo.net>)

PORTNAME=	${MPORTNAME:tl}
PORTVERSION=	5.0.5
PORTREVISION=	1
CATEGORIES=	math

COMMENT=	Graph algorithms in the language of linear algebra

LICENSE=	APACHE20

USES=		cmake:insource localbase:ldflags
OMP_NEEDED=	yes

MPORTNAME=	GraphBLAS
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 <bsd.port.post.mk>