aboutsummaryrefslogblamecommitdiff
path: root/math/suitesparse-klu/Makefile
blob: 0961f556daacf0156230b7e18e1ca0914a635d7b (plain) (tree)
1
2
3
4
5
6
7
8
9
                               
                     


                                                               
                                                                   


                       
                                                         






                                                         
                                  

                   


                                                               







                                                                         
                           
PORTNAME=	${MPORTNAME:tl}
PORTVERSION=	2.3.2
CATEGORIES=	math

COMMENT=	Sparse LU factorization, for circuit simulation
WWW=		https://faculty.cse.tamu.edu/davis/suitesparse.html

LICENSE=	LGPL21+

LIB_DEPENDS=	libamd.so:math/suitesparse-amd		\
		libbtf.so:math/suitesparse-btf		\
		libcamd.so:math/suitesparse-camd	\
		libcolamd.so:math/suitesparse-colamd	\
		libccolamd.so:math/suitesparse-ccolamd	\
		libcholmod.so:math/suitesparse-cholmod

USES=		localbase:ldflags
CMAKE_ARGS+=	-DNSTATIC:BOOL=off

MPORTNAME=	KLU
USE_LDCONFIG=	yes

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

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

.include <bsd.port.post.mk>