aboutsummaryrefslogtreecommitdiff
path: root/games/linux-darwinia-demo/Makefile
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2016-11-03 21:47:46 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2016-11-03 21:47:46 +0000
commit22758f26727a73eb34c75947612674ebeed25798 (patch)
tree217b630c3b537320d8bc0fa8c4a97dc39f4fd98c /games/linux-darwinia-demo/Makefile
parent1b101d5766bbdc9537584f83368d58762eefef50 (diff)
downloadports-22758f26727a73eb34c75947612674ebeed25798.tar.gz
ports-22758f26727a73eb34c75947612674ebeed25798.zip
Notes
Diffstat (limited to 'games/linux-darwinia-demo/Makefile')
-rw-r--r--games/linux-darwinia-demo/Makefile16
1 files changed, 3 insertions, 13 deletions
diff --git a/games/linux-darwinia-demo/Makefile b/games/linux-darwinia-demo/Makefile
index 4533fa60dfd8..0fcef2e54aa8 100644
--- a/games/linux-darwinia-demo/Makefile
+++ b/games/linux-darwinia-demo/Makefile
@@ -2,7 +2,7 @@
PORTNAME= darwinia-demo
PORTVERSION= 1.3.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games linux
MASTER_SITES= http://download.introversion.co.uk/mirror/introversion/darwinia/downloads/
PKGNAMEPREFIX= linux-
@@ -14,7 +14,7 @@ COMMENT= Real-time action strategy with programs
ONLY_FOR_ARCHS= i386 amd64
USES= linux
-USE_LINUX= sdl12 libogg libvorbis xorglibs
+USE_LINUX= dri libogg libvorbis sdl12 xorglibs
NO_CDROM= Redistribution is limited, see license
NO_BUILD= yes
NO_WRKSUBDIR= yes
@@ -22,17 +22,7 @@ NO_WRKSUBDIR= yes
DATADIR= ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
SUB_FILES= darwinia
-OPTIONS_DEFINE= NVIDIA DOCS
-NVIDIA_DESC= Enable nvidia graphics driver support
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNVIDIA}
-RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:x11/nvidia-driver
-USE_LINUX+= libglu
-.else
-USE_LINUX+= dri
-.endif
+OPTIONS_DEFINE= DOCS
do-extract:
@cd ${WRKSRC} && ${TAIL} +376 ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \