Files
ports/graphics/libgltf/Makefile
T
Dmitry Marakasov b35bdcd8fa math/glm: update 0.9.9.8 → 1.0.1
Some parts of glm were retroactively marked as experimental, and using
now leads to a compile error - added override for this error to consumers
which need it.
2024-03-02 00:00:07 +03:00

30 lines
802 B
Makefile

PORTNAME= libgltf
PORTVERSION= 0.1.0
PORTREVISION= 1
CATEGORIES= graphics devel
MASTER_SITES= LODEV
MAINTAINER= office@FreeBSD.org
COMMENT= C++ Library for rendering OpenGL models stored in glTF format
WWW= https://www.libreoffice.org
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/boost/ptr_container/ptr_map.hpp:devel/boost-libs \
${LOCALBASE}/include/glm/glm.hpp:math/glm
LIB_DEPENDS= libepoxy.so:graphics/libepoxy
USES= compiler:c++0x gl libtool localbase pathfix pkgconfig
USE_GL= glew
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-werror
INSTALL_TARGET= install-strip
PLIST_SUB= VERSION=${PORTVERSION:R}
CXXFLAGS+= -DGLM_ENABLE_EXPERIMENTAL # uses experimental extensions when checking for glm in configure
.include <bsd.port.mk>