freebsd-ports/devel/xtl-quant-stack/Makefile
Yuri Victorovich a1a1aa5a76 devel/xtl-quant-stack: Update 0.6.23-4 -> 0.7.0
Reported by:	portscout
2021-01-23 04:08:46 +00:00

32 lines
824 B
Makefile

# $FreeBSD$
PORTNAME= xtl
DISTVERSION= 0.7.0
CATEGORIES= devel
PKGNAMESUFFIX= -quant-stack
MAINTAINER= yuri@FreeBSD.org
COMMENT= Template library that supports other quantstack projects
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json
RUN_DEPENDS= nlohmann-json>0:devel/nlohmann-json
TEST_DEPENDS= nlohmann-json>0:devel/nlohmann-json \
googletest>0:devel/googletest
USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= xtensor-stack
NO_BUILD= yes
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -Dxtl_DIR:STRING=${STAGEDIR}${PREFIX}/lib/cmake/xtl -DBUILD_TESTS=ON -DDOWNLOAD_GTEST=OFF && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} xtest
.include <bsd.port.mk>