aboutsummaryrefslogblamecommitdiff
path: root/math/cglm/Makefile
blob: 6b40ee736a21b2cce33c9d0100e99d8923b023d4 (plain) (tree)
1
2
3
4
5
6
7
8

                         
                     



                                                          
                                            



                                 
                                                     

                   

                    
 


                                                            
                                                                                                         

                                                          

                      
PORTNAME=	cglm
DISTVERSIONPREFIX=	v
DISTVERSION=	0.8.5
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>