forked from opnsense/ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (24 loc) · 808 Bytes
/
Makefile
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
# Created by: Alexey Dokuchaev <[email protected]>
# $FreeBSD$
PORTNAME= glmark2
PORTVERSION= 2014.03
PORTREVISION= 1
CATEGORIES= benchmarks
MASTER_SITES= https://launchpadlibrarian.net/169075003/
MAINTAINER= [email protected]
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
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>