svn commit: r411232 - head/games/linux-unigine-heaven

Jan Beich jbeich at FreeBSD.org
Wed Mar 16 12:59:40 UTC 2016


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}


More information about the svn-ports-all mailing list