mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
29 lines
717 B
Makefile
29 lines
717 B
Makefile
PORTNAME= ensmallen
|
|
DISTVERSION= 2.19.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= math
|
|
MASTER_SITES= https://ensmallen.org/files/
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Flexible C++ library for efficient mathematical optimization
|
|
WWW= https://ensmallen.org/
|
|
|
|
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_ON= BUILD_TESTS # will be removed
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${BUILD_WRKSRC} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ensmallen_tests && \
|
|
./ensmallen_tests
|
|
|
|
.include <bsd.port.mk>
|