aboutsummaryrefslogtreecommitdiff
path: root/graphics/libgltf/Makefile
blob: 1fa844d1d89bde4717f629d402e2137ea8aa3556 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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>