diff options
author | netchild <netchild@FreeBSD.org> | 2005-07-17 18:03:40 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2005-07-17 18:03:40 +0800 |
commit | 9464cdc3616d779e2f203b355cf731e12edcc0d0 (patch) | |
tree | 0076bd598c238bb37a060c44bc1f46a8cf27a281 | |
parent | be044e8badb626c31df97bfe2811147d07229e05 (diff) | |
download | freebsd-ports-graphics-9464cdc3616d779e2f203b355cf731e12edcc0d0.tar.gz freebsd-ports-graphics-9464cdc3616d779e2f203b355cf731e12edcc0d0.tar.zst freebsd-ports-graphics-9464cdc3616d779e2f203b355cf731e12edcc0d0.zip |
- respect WITH_NVIDIA_GL setting
- Use PKGNAMEPREFIX (portlint)
Submitted by: Ulrich Spoerlein <spoerlein@informatik.uni-wuerzburg.de>
-rw-r--r-- | games/linux-q3ademo/Makefile | 9 | ||||
-rw-r--r-- | games/linux-quake3-demo/Makefile | 9 |
2 files changed, 14 insertions, 4 deletions
diff --git a/games/linux-q3ademo/Makefile b/games/linux-q3ademo/Makefile index 7416ed8b981..9bb3d40ae61 100644 --- a/games/linux-q3ademo/Makefile +++ b/games/linux-q3ademo/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 diff --git a/games/linux-quake3-demo/Makefile b/games/linux-quake3-demo/Makefile index 7416ed8b981..9bb3d40ae61 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 |