aboutsummaryrefslogtreecommitdiff
path: root/games/linux-quake3-demo
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2005-07-17 10:03:40 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2005-07-17 10:03:40 +0000
commitb412f9b07aa149f932a313e808e7d99bac9131f4 (patch)
treee8afff569f3adeeb0bcfef625655ed08628b0894 /games/linux-quake3-demo
parentb20fc0395ca3417525ae4bb70d4e907377bb0c83 (diff)
downloadports-b412f9b07aa149f932a313e808e7d99bac9131f4.tar.gz
ports-b412f9b07aa149f932a313e808e7d99bac9131f4.zip
Notes
Diffstat (limited to 'games/linux-quake3-demo')
-rw-r--r--games/linux-quake3-demo/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/games/linux-quake3-demo/Makefile b/games/linux-quake3-demo/Makefile
index 7416ed8b981c..9bb3d40ae61f 100644
--- a/games/linux-quake3-demo/Makefile
+++ b/games/linux-quake3-demo/Makefile
@@ -8,12 +8,13 @@
# $FreeBSD$
#
-PORTNAME= linux-q3ademo
+PORTNAME= q3ademo
PORTVERSION= 1.11.6
PORTREVISION= 3
CATEGORIES= games graphics linux
# fetch manually
MASTER_SITES=
+PKGNAMEPREFIX= linux-
DISTNAME= linuxq3ademo-1.11-6.x86.gz.sh
# dont uncompress
EXTRACT_SUFX=
@@ -28,7 +29,11 @@ USE_X_PREFIX= yes
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xfree86-3
-RUN_DEPENDS += ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
+.ifdef(WITH_NVIDIA_GL)
+RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
+.else
+RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
+.endif
.else
RUN_DEPENDS += ${LINUXBASE}/lib/libGL.so:${PORTSDIR}/graphics/linux_glx
.endif