86b2c5122a
A big Thank You to the original contributors of these ports: * Alexander Logvinov <ports@logvinov.com> * Alexey Dokuchaev <danfe@FreeBSD.org> * Alexey V. Degtyarev * Andreas Kohn <andreas@syndrom23.de> * Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su> * Andrey Zakhvatov <andy@FreeBSD.org> * Andy Clark <andrewclarkii@gmail.com> * Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>) * Bill Fumerola <billf@chc-chimes.com> * Brad Davis <brd@FreeBSD.org> * Bruce A. Mah <bmah@FreeBSD.org> * Chao Shin <quakelee@cn.freebsd.org> * Danilo Egea Gondolfo <danilo@FreeBSD.org> * David O'Brien (obrien@FreeBSD.org) * David O'Brien (obrien@NUXI.com) * Dima Sivachenko <dima@chg.ru> * Gabriel M. Dutra <0xdutra@gmail.com> * Gea-Suan Lin <gslin@ccca.nctu.edu.tw> * Gea-Suan Lin <gslin@gslin.org> * Hannes Hauswedell <h2+fbsdports@fsfe.org> * Johannes Dieterich <dieterich@ogolem.org> * Johannes Dieterich <jmd@FreeBSD.org> * Joseph Koshy <jkoshy@FreeBSD.org> * Kris Moore <kmoore@FreeBSD.org> * Lars Eggert <lars@eggert.org> * Mark Pulford <mark@kyne.com.au> * Matthias Fechner <mfechner@FreeBSD.org> * NAKAJI Hiroyuki <nakaji@jp.freebsd.org> * NAKATA Maho <maho@FreeBSD.org> * Oliver Lehmann <oliver@FreeBSD.org> * Pete Fritchman <petef@databits.net> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Radim Kolar * Radim Kolar <hsn@sendmail.cz> * Roman Bogorodskiy <bogorodskiy@inbox.ru> * Scott Flatman <sf@dsinw.com> * Sergey A. Osokin <osa@FreeBSD.org> * Sergey Kandaurov <pluknet@gmail.com> * Sergey Skvortsov <skv@protey.ru> * Slava Shwartsman <slavash@FreeBSD.org> * Stephen Montgomery-Smith <stephen@math.missouri.edu> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Thomas Dreibholz <dreibh@iem.uni-due.de> * Tom Judge <tom@tomjudge.com> * Veniamin Gvozdikov <vg@FreeBSD.org> * Vsevolod Stakhov <vsevolod@FreeBSD.org> * Will Andrews <andrews@technologist.com> * Yen-Ming Lee <leeym@FreeBSD.org> * Ying-Chieh Liao <ijliao@FreeBSD.org> * arved * asami * dikshie <dikshie@lapi.itb.ac.id> * gnn * ijliao * janos.mohacsi@bsd.hu * jesper@jdn.dk * jmz * koshy * luigi@FreeBSD.org * mharo@FreeBSD.org * mich@freebsdcluster.org * mr * se * shalunov * thierry@pompo.net * trasz <trasz@pin.if.uz.zgora.pl> * uminac With hat: portmgr
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
PORTNAME= glmark2
|
|
PORTVERSION= 2021.12
|
|
CATEGORIES= benchmarks wayland
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Benchmark for OpenGL (ES) 2.0
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
|
|
|
USES= compiler:c++14-lang gl jpeg localbase:ldflags pkgconfig waf
|
|
USE_GL= egl gl glesv2
|
|
USE_GITHUB= yes
|
|
CONFIGURE_ARGS= --with-flavors=${PLATFORMS:ts,} --no-opt --no-debug
|
|
|
|
PORTDOCS= NEWS
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
OPTIONS_MULTI= PLATFORM
|
|
OPTIONS_MULTI_PLATFORM= DRM WAYLAND X11
|
|
OPTIONS_DEFAULT=DRM WAYLAND X11
|
|
OPTIONS_SUB= yes
|
|
|
|
PLATFORM_DESC= Window systems
|
|
|
|
DRM_DESC= KMS console support
|
|
DRM_LIB_DEPENDS= libudev.so:devel/libudev-devd \
|
|
libdrm.so:graphics/libdrm
|
|
DRM_USE= GL=gbm
|
|
DRM_VARS= PLATFORMS+="drm-gl drm-glesv2"
|
|
|
|
WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \
|
|
wayland-protocols>=1.12:graphics/wayland-protocols
|
|
WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland
|
|
WAYLAND_VARS= PLATFORMS+="wayland-gl wayland-glesv2"
|
|
|
|
X11_USES= xorg
|
|
X11_USE= XORG=x11
|
|
X11_VARS= PLATFORMS+="x11-gl x11-glesv2"
|
|
|
|
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>
|