mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
cf6364dd60
Reported by: portscout
26 lines
579 B
Makefile
26 lines
579 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cglm
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.7.7
|
|
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_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>
|