blob: 2f60dc18a225911de65d676e65666c8a12b86959 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
PORTNAME= cglm
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.0
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Highly optimized graphics math (glm) for C
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake compiler:c11
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= recp
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>
|