blob: ffa29dc8f7af7981188f01649460b76206551b17 (
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
|
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 <bsd.port.mk>
|