mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
a2dc7cf140
- Remove pre-r423928 WAF_CMD override for verbose logs PR: 224989
35 lines
808 B
Makefile
35 lines
808 B
Makefile
# 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
|
|
|
|
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>
|