ports/math/xtensor/Makefile
Yuri Victorovich b2aaf2d765 math/xtensor: Unbundle xtl
Also add devel/nlohmann-json as a dependency. It was missing.
2018-08-12 16:43:32 +00:00

35 lines
914 B
Makefile

# $FreeBSD$
PORTNAME= xtensor
DISTVERSION= 0.17.1
PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Multi-dimensional arrays with broadcasting and lazy computing
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json \
xtl-quant-stack>0:devel/xtl-quant-stack
RUN_DEPENDS= nlohmann-json>0:devel/nlohmann-json \
xtl-quant-stack>0:devel/xtl-quant-stack
TEST_DEPENDS= nlohmann-json>0:devel/nlohmann-json \
xtl-quant-stack>0:devel/xtl-quant-stack \
googletest>0:devel/googletest
USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= QuantStack
NO_BUILD= yes
NO_ARCH= yes
do-test:
@${RLN} ${STAGEDIR}${PREFIX}/include ${WRKSRC}/test/staged-include
@cd ${WRKSRC}/test && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} . && \
${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} && \
${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} xtest
.include <bsd.port.mk>