c9e693a062
Reported by: portscout
27 lines
640 B
Makefile
27 lines
640 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= reactphysics3d
|
|
DISTVERSION= 0.7.1
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= C++ physics engine library in 3D
|
|
|
|
LICENSE= ZLIB
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cmake compiler:c++11-lang
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= DanielChappuis
|
|
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>
|