aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/glmark2/Makefile
blob: 02b1975a110de31c8d22dfbf7629c68fff7b3f3a (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
30
31
32
33
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$

PORTNAME=   glmark2
PORTVERSION=    2014.03
PORTREVISION=   1
CATEGORIES= benchmarks
MASTER_SITES=   https://launchpadlibrarian.net/169075003/

MAINTAINER= danfe@FreeBSD.org
COMMENT=    Benchmark for OpenGL (ES) 2.0

LICENSE=    GPLv3

LIB_DEPENDS=    libpng.so:graphics/png

USES=       jpeg localbase:ldflags pkgconfig waf
USE_GL=     egl gl glesv2
CONFIGURE_ARGS= --with-flavors=x11-gl,x11-glesv2 --no-opt --no-debug
WAF_CMD=    ./waf -v

PORTDOCS=   NEWS

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e "/lib/s/, 'dl'//" ${WRKSRC}/src/wscript_build

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>