diff options
author | Johannes Jost Meixner <xmj@FreeBSD.org> | 2015-04-05 07:23:49 +0000 |
---|---|---|
committer | Johannes Jost Meixner <xmj@FreeBSD.org> | 2015-04-05 07:23:49 +0000 |
commit | abb03c2e2599aba4232bad0be4fd32e41d70b6ec (patch) | |
tree | 90fca858b3cba3e15ed54ee8d10ddaea30697e29 /games/linux-enemyterritory | |
parent | 026a6226b8b5463e834aed340d18bb2bcc3ff146 (diff) |
Add NVIDIA_GL description to Mk/bsd.options.desc.mk
- Add NVIDIA_GL description to Mk/bsd.options.desc.mk
- Remove NVIDIA_GL_DESC from all concerned ports
- Use options helpers where adequate.
Differential Revision: https://reviews.freebsd.org/D1759
Approved by: koobs (mentor)
Approved by: portmgr (bapt)
Notes
Notes:
svn path=/head/; revision=383259
Diffstat (limited to 'games/linux-enemyterritory')
-rw-r--r-- | games/linux-enemyterritory/Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/games/linux-enemyterritory/Makefile b/games/linux-enemyterritory/Makefile index 5a0097cef30c..a4266b50f706 100644 --- a/games/linux-enemyterritory/Makefile +++ b/games/linux-enemyterritory/Makefile @@ -23,15 +23,9 @@ ETDIR= ${PREFIX}/lib/${PORTNAME} PATCH_260B_DIR= Enemy Territory 2.60b OPTIONS_DEFINE= DOCS 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_USE_OFF= linux_apps=dri do-extract: @${MKDIR} ${WRKSRC} @@ -60,6 +54,8 @@ do-install: ${MKDIR} ${STAGEDIR}${ETDIR}/${DIR} .endfor +.include <bsd.port.options.mk> + .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${RMDIR} ${WRKSRC}/Docs/Help/_private |