2020-06-17 04:39:51 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= cglm
|
|
|
|
DISTVERSIONPREFIX= v
|
2020-08-10 17:37:46 +00:00
|
|
|
DISTVERSION= 0.7.8
|
2020-06-17 04:39:51 +00:00
|
|
|
CATEGORIES= math
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Highly optimized graphics math (glm) for C
|
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2020-06-17 20:19:23 +00:00
|
|
|
USES= cmake compiler:c11
|
2020-06-17 04:39:51 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= recp
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
do-test:
|
|
|
|
@cd ${BUILD_WRKSRC} && \
|
|
|
|
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DCGLM_USE_TEST:BOOL=ON ${CMAKE_SOURCE_PATH} && \
|
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
|
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|