freebsd-ports/math/cglm/Makefile
Jan Beich 0cf3e3b7fe math/cglm: fix inheritance of old MESON_ARGS
This port doesn't set MESON_ARGS, so the effect is cosmetic.
Mainly to avoid bugs in case pre-test is copied to other ports.
2021-08-28 08:57:30 +00:00

26 lines
590 B
Makefile

PORTNAME= cglm
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.4
PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Highly optimized graphics math (glm) for C
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>