# $FreeBSD: head/math/amgcl/Makefile 561117 2021-01-10 22:55:31Z yuri $ PORTNAME= amgcl DISTVERSION= 1.4.0 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= C++ header-only library for solving large sparse linear systems LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= boost-libs>0:devel/boost-libs RUN_DEPENDS= ${PREFIX}/include/boost/property_tree/ptree.hpp:devel/boost-libs USES= cmake USE_GITHUB= yes GH_ACCOUNT= ddemidov NO_BUILD= yes NO_ARCH= yes do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DAMGCL_BUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include