1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/math/xtensor/Makefile
Yuri Victorovich e70dd4a333 math/xtensor: Update 0.23.4 -> 0.23.5
Reported by:	portscout
2021-04-14 11:10:20 -07:00

34 lines
952 B
Makefile

PORTNAME= xtensor
DISTVERSION= 0.23.5
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= xtensor-stack
NO_BUILD= yes
NO_ARCH= yes
do-test: install # https://github.com/xtensor-stack/xtensor/issues/2220
@${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>