blob: 81554f406fc0a5e6e664ff63e11c769db57245a7 (
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
25
26
|
PORTNAME= cglm
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.2
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Highly optimized graphics math (glm) for C
WWW= https://github.com/recp/cglm
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c11 meson # was cmake before
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= recp
pre-test:
@if [ ! -e ${WRKDIR}/.meson_build_testing ]; then \
${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \
${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dbuild_tests=true"; \
${TOUCH} ${WRKDIR}/.meson_build_testing; \
fi
.include <bsd.port.mk>
|