summaryrefslogtreecommitdiff
path: root/math/suitesparse-spex/Makefile
blob: 2d32fe9e725c4a9d27c8ae838cd5c78449017f4a (plain)
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
PORTNAME=	${MPORTNAME:tl}
PORTVERSION=	2.0.3
CATEGORIES=	math

COMMENT=	Sparse Left-looking Integer-Preserving LU Factorization
WWW=		https://faculty.cse.tamu.edu/davis/suitesparse.html

LICENSE=	GPLv2+ LGPL3+
LICENSE_COMB=	dual
LICENSE_FILE=	${BUILD_WRKSRC}/LICENSE.txt

LIB_DEPENDS=	libgmp.so:math/gmp	\
		libmpfr.so:math/mpfr	\
		libamd.so:math/suitesparse-amd	\
		libcolamd.so:math/suitesparse-colamd

USES=		localbase:ldflags

MPORTNAME=	SPEX
USE_LDCONFIG=	yes

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

post-stage-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${BUILD_WRKSRC}/README.md	\
		${STAGEDIR}${DOCSDIR}/${MPORTNAME}_README.md
	${INSTALL_DATA} ${BUILD_WRKSRC}/Doc/${MPORTNAME}_UserGuide.pdf	\
		${STAGEDIR}${DOCSDIR}

.include <bsd.port.post.mk>