summaryrefslogtreecommitdiff
path: root/devel/apitrace/Makefile
blob: 176516c77d98d9037bce6f21bca47028f9b96aa1 (plain)
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
30
31
32
33
34
35
36
37
# $FreeBSD$

PORTNAME=	apitrace
DISTVERSION=	7.1-455
PORTREVISION=	4
DISTVERSIONSUFFIX=	-g7c76b90
CATEGORIES=	devel

MAINTAINER=	greg@unrelenting.technology
COMMENT=	Tools for tracing OpenGL and other graphics APIs

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libpng.so:graphics/png

USES=		cmake compiler:c++11-lang pkgconfig python:2.7 shebangfix
USE_GITHUB=	yes
USE_XORG=	x11

SHEBANG_FILES=	scripts/*.py

OPTIONS_DEFINE=	QT5 DOCS
OPTIONS_DEFAULT=	QT5
OPTIONS_SUB=	yes

QT5_CMAKE_BOOL=	ENABLE_GUI
QT5_USES=	qt:5
QT5_USE=	qt=core,gui,network,widgets,buildtools_build,qmake_build

post-install:
	${RM} ${STAGEDIR}${DOCSDIR}/LICENSE.txt

post-install-QT5-on:
	${INSTALL_DATA} ${FILESDIR}/qapitrace.desktop ${STAGEDIR}${PREFIX}/share/applications

.include <bsd.port.mk>