1PORTNAME= ${MPORTNAME:tl} 2PORTVERSION= 2.2.1 3CATEGORIES= math 4 5COMMENT= Sparse LU factorization, for circuit simulation 6WWW= https://faculty.cse.tamu.edu/davis/suitesparse.html 7 8LICENSE= lgpl2.1+ 9 10LIB_DEPENDS= libamd.so:math/suitesparse-amd \ 11 libbtf.so:math/suitesparse-btf \ 12 libcamd.so:math/suitesparse-camd \ 13 libcolamd.so:math/suitesparse-colamd \ 14 libccolamd.so:math/suitesparse-ccolamd \ 15 libcholmod.so:math/suitesparse-cholmod 16 17USES= localbase:ldflags 18CMAKE_ARGS+= -DNSTATIC:BOOL=off 19 20MPORTNAME= KLU 21USE_LDCONFIG= yes 22 23.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk" 24 25post-fake-DOCS-on: 26 @${MKDIR} ${FAKE_DESTDIR}${DOCSDIR} 27 ${INSTALL_DATA} ${BUILD_WRKSRC}/README.txt \ 28 ${FAKE_DESTDIR}${DOCSDIR}/${MPORTNAME}_README.txt 29 ${INSTALL_DATA} ${BUILD_WRKSRC}/Doc/${MPORTNAME}_UserGuide.pdf \ 30 ${FAKE_DESTDIR}${DOCSDIR} 31 32.include <bsd.port.post.mk> 33