aboutsummaryrefslogtreecommitdiff
path: root/graphics/glbinding/Makefile
blob: ef0bfec3c4c69d0ae40c2faa02d90acbe39e8139 (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
PORTNAME=	glbinding
DISTVERSIONPREFIX=	v
DISTVERSION=	3.1.0
CATEGORIES=	graphics devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	C++ binding for the OpenGL API
WWW=		https://glbinding.org/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cmake compiler:c++11-lang qt:5
USE_QT=		core gui widgets buildtools_build qmake_build
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	cginternals

LDFLAGS+=	-lpthread # workaround for https://github.com/cginternals/glbinding/issues/327

post-install: # workaround for https://github.com/cginternals/glbinding/issues/328
	@${RM} ${STAGEDIR}${PREFIX}/include/KHR/khrplatform.h
	@${RMDIR} ${STAGEDIR}${PREFIX}/include/KHR

.include <bsd.port.mk>