1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/math/ensmallen/Makefile
2020-05-06 21:19:22 +00:00

31 lines
820 B
Makefile

# $FreeBSD$
PORTNAME= ensmallen
DISTVERSION= 2.12.1
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= https://ensmallen.org/files/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Flexible C++ library for efficient mathematical optimization
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${LOCALBASE}/include/armadillo_bits/config.hpp:math/armadillo
RUN_DEPENDS= ${LOCALBASE}/include/armadillo_bits/config.hpp:math/armadillo
USES= cmake compiler:c++11-lang localbase
CMAKE_OFF= BUILD_TESTS
NO_BUILD= yes
NO_ARCH= yes
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_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>