aboutsummaryrefslogtreecommitdiff
path: root/graphics/reactphysics3d
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-08-16 19:03:31 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-08-16 19:03:31 +0000
commit338e060129c9ce5f67751d93ef61e4ad58b3a416 (patch)
tree9768386394ab33cbf292b23a1e64244dd2529953 /graphics/reactphysics3d
parent433b3d3e5e631f217838d0131cc3d1607a6bbbb9 (diff)
downloadports-338e060129c9ce5f67751d93ef61e4ad58b3a416.tar.gz
ports-338e060129c9ce5f67751d93ef61e4ad58b3a416.zip
graphics/reactphysics3d: Update to the latest revision; Add the 'test' target.
Notes
Notes: svn path=/head/; revision=477368
Diffstat (limited to 'graphics/reactphysics3d')
-rw-r--r--graphics/reactphysics3d/Makefile9
-rw-r--r--graphics/reactphysics3d/distinfo6
2 files changed, 11 insertions, 4 deletions
diff --git a/graphics/reactphysics3d/Makefile b/graphics/reactphysics3d/Makefile
index c384a693aa5f..51114e5eb41b 100644
--- a/graphics/reactphysics3d/Makefile
+++ b/graphics/reactphysics3d/Makefile
@@ -2,6 +2,7 @@
PORTNAME= reactphysics3d
DISTVERSION= 0.7.0
+PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= yuri@FreeBSD.org
@@ -13,8 +14,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake:outsource
USE_GITHUB= yes
GH_ACCOUNT= DanielChappuis
-GH_TAGNAME= f86038aa31875daacc2d950be7b999c0d6a19986 # branch 'fix37'
+GH_TAGNAME= f3be5384997da7ddeccc526036985a80de660bae # branch 'fix37'
USE_LDCONFIG= yes
CMAKE_ON= BUILD_SHARED_LIBS
+do-test:
+ @cd ${BUILD_WRKSRC} && \
+ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DRP3D_COMPILE_TESTS=ON ${CMAKE_SOURCE_PATH} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
+ ./test/tests
+
.include <bsd.port.mk>
diff --git a/graphics/reactphysics3d/distinfo b/graphics/reactphysics3d/distinfo
index 6fc2119007dd..95d13d4f7636 100644
--- a/graphics/reactphysics3d/distinfo
+++ b/graphics/reactphysics3d/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1533363447
-SHA256 (DanielChappuis-reactphysics3d-0.7.0-f86038aa31875daacc2d950be7b999c0d6a19986_GH0.tar.gz) = 7786e7ae19fa0594adda83719325791d732947bb9bde908f9de9a599e95b2afa
-SIZE (DanielChappuis-reactphysics3d-0.7.0-f86038aa31875daacc2d950be7b999c0d6a19986_GH0.tar.gz) = 8823041
+TIMESTAMP = 1534403921
+SHA256 (DanielChappuis-reactphysics3d-0.7.0-f3be5384997da7ddeccc526036985a80de660bae_GH0.tar.gz) = 322e319b4663c7117fc24c950de1ed7d45ffb8dfd16a5db0df5b4dfaa686db97
+SIZE (DanielChappuis-reactphysics3d-0.7.0-f3be5384997da7ddeccc526036985a80de660bae_GH0.tar.gz) = 8822992