math/ascent: Update 0.3.0-11 -> 0.4.0

Also add the 'test' target.

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2019-11-17 00:55:03 +00:00
parent 36a33c3833
commit 6914917dc6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=517787
3 changed files with 25 additions and 5 deletions

View file

@ -2,8 +2,7 @@
PORTNAME= ascent
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.0-11
DISTVERSIONSUFFIX= -g0b137ac
DISTVERSION= 0.4.0
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
@ -12,14 +11,23 @@ COMMENT= C++ simulation engine and differential equation solver
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake
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_UNIT_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
${BUILD_WRKSRC}/bin/ascent_test
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1545240849
SHA256 (AnyarInc-Ascent-v0.3.0-11-g0b137ac_GH0.tar.gz) = 7963ee3b4e842330b5975cf2d2d92deef96fa106c40fad47720c24ecbf8b5ee6
SIZE (AnyarInc-Ascent-v0.3.0-11-g0b137ac_GH0.tar.gz) = 50402
TIMESTAMP = 1573951078
SHA256 (AnyarInc-Ascent-v0.4.0_GH0.tar.gz) = ec0b17ae3890235f3e413a1955b3e6f774f4bddbc893e767c3d5e5baac84629c
SIZE (AnyarInc-Ascent-v0.4.0_GH0.tar.gz) = 56046

View file

@ -8,6 +8,7 @@ include/ascent/Utility.h
include/ascent/Vector.h
include/ascent/algorithms/Derivative.h
include/ascent/containers/stack.h
include/ascent/direct/State.h
include/ascent/integrators/DOPRI45.h
include/ascent/integrators/Euler.h
include/ascent/integrators/Midpoint.h
@ -16,7 +17,18 @@ include/ascent/integrators/RK2.h
include/ascent/integrators/RK4.h
include/ascent/integrators/RKMM.h
include/ascent/integrators/RTAM4.h
include/ascent/integrators_direct/Euler.h
include/ascent/integrators_direct/RK4.h
include/ascent/integrators_modular/Euler.h
include/ascent/integrators_modular/Midpoint.h
include/ascent/integrators_modular/ModularIntegrators.h
include/ascent/integrators_modular/PC233.h
include/ascent/integrators_modular/RK2.h
include/ascent/integrators_modular/RK4.h
include/ascent/modular/Link.h
include/ascent/modular/Module.h
include/ascent/threading/Pool.h
include/ascent/threading/Queue.h
include/ascent/timing/Sampler.h
include/ascent/timing/TimeAdvanced.h
include/ascent/timing/Timing.h