Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2016 12:59:39 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411232 - head/games/linux-unigine-heaven
Message-ID:  <201603161259.u2GCxd0L068011@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Mar 16 12:59:39 2016
New Revision: 411232
URL: https://svnweb.freebsd.org/changeset/ports/411232

Log:
  games/linux-unigine-heaven: list also in benchmarks/ and use option helpers

Modified:
  head/games/linux-unigine-heaven/Makefile   (contents, props changed)

Modified: head/games/linux-unigine-heaven/Makefile
==============================================================================
--- head/games/linux-unigine-heaven/Makefile	Wed Mar 16 12:59:06 2016	(r411231)
+++ head/games/linux-unigine-heaven/Makefile	Wed Mar 16 12:59:39 2016	(r411232)
@@ -3,7 +3,7 @@
 
 PORTNAME=	unigine-heaven
 PORTVERSION=	4.0
-CATEGORIES=	games linux
+CATEGORIES=	games benchmarks linux
 MASTER_SITES=	http://de1-dl.techpowerup.com/Benchmarking/ \
 		http://nl1-dl.techpowerup.com/Benchmarking/ \
 		http://uk1-dl.techpowerup.com/Benchmarking/ \
@@ -29,14 +29,8 @@ NO_BUILD=	yes
 
 OPTIONS_DEFINE=	NVIDIA_GL
 NVIDIA_GL_DESC=	Use GL driver from nvidia-driver
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNVIDIA_GL}
-RUN_DEPENDS+=	${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
-.else
-USE_LINUX_APPS+=dri
-.endif
+NVIDIA_GL_RUN_DEPENDS=	${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
+NVIDIA_GL_VARS_OFF=	USE_LINUX_APPS+=dri
 
 do-extract:
 	@${MKDIR} ${WRKSRC}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603161259.u2GCxd0L068011>