2017-10-23 02:28:46 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2017/10/23 06:28:46 rsadowski Exp $
|
import ports/graphics/glm, ok gonzalo@
OpenGL Mathematics (GLM) is a header only C++ mathematics library for
graphics software based on the OpenGL Shading Language (GLSL) specification.
GLM provides classes and functions designed and implemented with the same
naming conventions and functionalities as GLSL so that when a programmer
knows GLSL, he knows GLM as well, which makes it really easy to use.
This project isn't limited to GLSL features. An extension system, based
on the GLSL extension conventions, provides extended capabilities:
matrix transformations, quaternions, half-based types, random numbers,
procedural noise functions, etc...
This library works perfectly with OpenGL but it also ensures interoperability
with third party libraries and SDKs. It is a good candidate for software
rendering (Raytracing / Rasterisation), image processing, physic simulations
and any context that requires a simple and convenient mathematics library.
GLM is written in C++98 but can take advantage of C++11 when supported
by the compiler.
2013-03-19 11:47:41 -04:00
|
|
|
|
|
|
|
COMMENT= C++ mathematics header-only library for OpenGL software
|
|
|
|
|
2017-10-23 02:28:46 -04:00
|
|
|
GH_TAGNAME= 0.9.8.5
|
2015-12-28 13:57:29 -05:00
|
|
|
GH_PROJECT= glm
|
|
|
|
GH_ACCOUNT= g-truc
|
|
|
|
DISTNAME= ${GH_PROJECT}-${GH_TAGNAME}
|
import ports/graphics/glm, ok gonzalo@
OpenGL Mathematics (GLM) is a header only C++ mathematics library for
graphics software based on the OpenGL Shading Language (GLSL) specification.
GLM provides classes and functions designed and implemented with the same
naming conventions and functionalities as GLSL so that when a programmer
knows GLSL, he knows GLM as well, which makes it really easy to use.
This project isn't limited to GLSL features. An extension system, based
on the GLSL extension conventions, provides extended capabilities:
matrix transformations, quaternions, half-based types, random numbers,
procedural noise functions, etc...
This library works perfectly with OpenGL but it also ensures interoperability
with third party libraries and SDKs. It is a good candidate for software
rendering (Raytracing / Rasterisation), image processing, physic simulations
and any context that requires a simple and convenient mathematics library.
GLM is written in C++98 but can take advantage of C++11 when supported
by the compiler.
2013-03-19 11:47:41 -04:00
|
|
|
|
|
|
|
CATEGORIES= graphics math
|
|
|
|
|
2017-10-23 02:28:46 -04:00
|
|
|
HOMEPAGE= https://glm.g-truc.net/
|
import ports/graphics/glm, ok gonzalo@
OpenGL Mathematics (GLM) is a header only C++ mathematics library for
graphics software based on the OpenGL Shading Language (GLSL) specification.
GLM provides classes and functions designed and implemented with the same
naming conventions and functionalities as GLSL so that when a programmer
knows GLSL, he knows GLM as well, which makes it really easy to use.
This project isn't limited to GLSL features. An extension system, based
on the GLSL extension conventions, provides extended capabilities:
matrix transformations, quaternions, half-based types, random numbers,
procedural noise functions, etc...
This library works perfectly with OpenGL but it also ensures interoperability
with third party libraries and SDKs. It is a good candidate for software
rendering (Raytracing / Rasterisation), image processing, physic simulations
and any context that requires a simple and convenient mathematics library.
GLM is written in C++98 but can take advantage of C++11 when supported
by the compiler.
2013-03-19 11:47:41 -04:00
|
|
|
|
|
|
|
# MIT
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2017-06-15 14:02:17 -04:00
|
|
|
MODULES= devel/cmake
|
import ports/graphics/glm, ok gonzalo@
OpenGL Mathematics (GLM) is a header only C++ mathematics library for
graphics software based on the OpenGL Shading Language (GLSL) specification.
GLM provides classes and functions designed and implemented with the same
naming conventions and functionalities as GLSL so that when a programmer
knows GLSL, he knows GLM as well, which makes it really easy to use.
This project isn't limited to GLSL features. An extension system, based
on the GLSL extension conventions, provides extended capabilities:
matrix transformations, quaternions, half-based types, random numbers,
procedural noise functions, etc...
This library works perfectly with OpenGL but it also ensures interoperability
with third party libraries and SDKs. It is a good candidate for software
rendering (Raytracing / Rasterisation), image processing, physic simulations
and any context that requires a simple and convenient mathematics library.
GLM is written in C++98 but can take advantage of C++11 when supported
by the compiler.
2013-03-19 11:47:41 -04:00
|
|
|
|
2017-10-23 02:28:46 -04:00
|
|
|
COMPILER = base-clang ports-clang ports-gcc
|
import ports/graphics/glm, ok gonzalo@
OpenGL Mathematics (GLM) is a header only C++ mathematics library for
graphics software based on the OpenGL Shading Language (GLSL) specification.
GLM provides classes and functions designed and implemented with the same
naming conventions and functionalities as GLSL so that when a programmer
knows GLSL, he knows GLM as well, which makes it really easy to use.
This project isn't limited to GLSL features. An extension system, based
on the GLSL extension conventions, provides extended capabilities:
matrix transformations, quaternions, half-based types, random numbers,
procedural noise functions, etc...
This library works perfectly with OpenGL but it also ensures interoperability
with third party libraries and SDKs. It is a good candidate for software
rendering (Raytracing / Rasterisation), image processing, physic simulations
and any context that requires a simple and convenient mathematics library.
GLM is written in C++98 but can take advantage of C++11 when supported
by the compiler.
2013-03-19 11:47:41 -04:00
|
|
|
|
|
|
|
# it's kind-of a NO_BUILD port, but doing so means you can't
|
|
|
|
# run the tests.
|
2017-06-15 14:02:17 -04:00
|
|
|
CONFIGURE_ARGS+=-DGLM_TEST_ENABLE=BOOLEAN=ON
|
|
|
|
|
2017-06-16 05:34:36 -04:00
|
|
|
CXXFLAGS+= -Wno-long-long
|
import ports/graphics/glm, ok gonzalo@
OpenGL Mathematics (GLM) is a header only C++ mathematics library for
graphics software based on the OpenGL Shading Language (GLSL) specification.
GLM provides classes and functions designed and implemented with the same
naming conventions and functionalities as GLSL so that when a programmer
knows GLSL, he knows GLM as well, which makes it really easy to use.
This project isn't limited to GLSL features. An extension system, based
on the GLSL extension conventions, provides extended capabilities:
matrix transformations, quaternions, half-based types, random numbers,
procedural noise functions, etc...
This library works perfectly with OpenGL but it also ensures interoperability
with third party libraries and SDKs. It is a good candidate for software
rendering (Raytracing / Rasterisation), image processing, physic simulations
and any context that requires a simple and convenient mathematics library.
GLM is written in C++98 but can take advantage of C++11 when supported
by the compiler.
2013-03-19 11:47:41 -04:00
|
|
|
|
|
|
|
PKG_ARCH= *
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|