blob: ddc74b6828baad64d4cd7683f91c3497d0f4e57e (
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
34
35
36
37
|
# 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
DEPRECATED= Uses deprecated version of python
EXPIRATION_DATE= 2020-09-15
LIB_DEPENDS= libpng.so:graphics/png
USES= gl jpeg localbase:ldflags pkgconfig python:2.7,build waf
USE_GL= egl gl glesv2
CONFIGURE_ARGS= --with-flavors=x11-gl,x11-glesv2 --no-opt --no-debug
PORTDOCS= NEWS
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e "/lib/s/, 'dl'//" ${WRKSRC}/src/wscript_build
@${REINPLACE_CMD} -e 's/GLMARK_VERSION/ &/' \
${WRKSRC}/src/native-state-x11.cpp
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|