1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/math/ascent/Makefile
Piotr Kubaj dcf608e829 math/ascent: fix build on GCC architectures
C++17 compiler is necessary:
  The compiler feature "cxx_std_17" is not known to CXX compiler

  "GNU"

  version 4.2.1.
2020-04-12 14:28:06 +00:00

34 lines
767 B
Makefile

# $FreeBSD$
PORTNAME= ascent
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.0
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ simulation engine and differential equation solver
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake compiler:c++17-lang
USE_GITHUB= yes
GH_ACCOUNT= AnyarInc
GH_PROJECT= Ascent
CMAKE_OFF= BUILD_UNIT_TESTS BUILD_EXAMPLES
NO_BUILD= yes
NO_ARCH= yes
do-install:
@cd ${WRKSRC}/include && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PREFIX}/include
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
${BUILD_WRKSRC}/unit_tests/ascent_test
.include <bsd.port.mk>