2018-03-12 09:56:30 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xtensor
|
2018-03-14 03:14:19 +01:00
|
|
|
DISTVERSION= 0.15.5
|
2018-03-12 09:56:30 +01:00
|
|
|
CATEGORIES= math
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Multi-dimensional arrays with broadcasting and lazy computing
|
|
|
|
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
TEST_DEPENDS= googletest>0:devel/googletest
|
|
|
|
|
|
|
|
USES= cmake
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= QuantStack
|
|
|
|
GH_TUPLE= QuantStack:xtl:0.4.4:xtl/xtl
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_ARCH= yes
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC}/xtl/include && ${COPYTREE_SHARE} xtl ${STAGEDIR}${PREFIX}/include
|
|
|
|
|
2018-03-14 03:14:19 +01:00
|
|
|
do-test:
|
2018-03-12 09:56:30 +01:00
|
|
|
@${RLN} ${STAGEDIR}${PREFIX}/include ${WRKSRC}/test/staged-include
|
|
|
|
@cd ${WRKSRC}/test && \
|
|
|
|
${CMAKE_BIN} ${CMAKE_ARGS} . && \
|
2018-03-14 03:14:19 +01:00
|
|
|
${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} && \
|
|
|
|
${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} xtest
|
2018-03-12 09:56:30 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|