forked from Lainports/freebsd-ports
This will primarily help powerpc64. For archs where clang is the default compiler, these changes will have no effect, as the base compiler already has these capabilities (primarily, but not exclusively, c++-11). Tested for no-harm on amd64. While here, pet portlint. Approved by: portmgr (tier-2 blanket)
25 lines
477 B
Makefile
25 lines
477 B
Makefile
# Created by: demon@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= glm
|
|
PORTVERSION= 0.9.8.5
|
|
PORTEPOCH= 1
|
|
CATEGORIES= math graphics
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= C++ mathematics library for software based on the OpenGL GLSL
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/copying.txt
|
|
|
|
USES= cmake:outsource compiler:c++11-lang pkgconfig
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= g-truc
|
|
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= TEST
|
|
TEST_CMAKE_BOOL= GLM_TEST_ENABLE
|
|
TEST_TEST_TARGET= test
|
|
|
|
.include <bsd.port.mk>
|