diff options
author | jgh <jgh@FreeBSD.org> | 2013-05-31 22:40:56 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2013-05-31 22:40:56 +0800 |
commit | 5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6 (patch) | |
tree | fd7ac6263851705bfeae2fb7d9dce6af494453c8 /games/linux-savage | |
parent | f865d279ae89cb92e74059f7301e136a9da802d8 (diff) | |
download | freebsd-ports-gnome-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.tar.gz freebsd-ports-gnome-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.tar.zst freebsd-ports-gnome-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.zip |
- adopt optionsNG for games
- trim historical headers and trim comments
- some Makefile cleanup
Approved by: portmgr (bapt)
Diffstat (limited to 'games/linux-savage')
-rw-r--r-- | games/linux-savage/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/games/linux-savage/Makefile b/games/linux-savage/Makefile index 8d3a5e8fd779..971682c4e549 100644 --- a/games/linux-savage/Makefile +++ b/games/linux-savage/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: linux-savage -# Date created: 2006-09-06 -# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> -# +# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> # $FreeBSD$ -# PORTNAME= savage PORTVERSION= 2.00e @@ -34,11 +30,13 @@ WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME} SAVAGEDIR= lib/${PKGNAMEPREFIX}${PORTNAME} -OPTIONS= NVIDIA_GL "Install support for nvidia" off +OPTIONS_DEFINE= NVIDIA_GL +NVIDIA_GL_DESC= Support for nvidia +.include <bsd.port.options.mk> .include <bsd.port.pre.mk> -.if defined(WITH_NVIDIA_GL) +.if ${PORT_OPTIONS:MNVIDIA_GL} . if !exists(${LINUXBASE}/usr/X11R6/lib/libGL.so.1) RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver \ ${LINUXBASE}/usr/X11R6/lib/libGLU.so.1:${PORTSDIR}/graphics/linux-libGLU @@ -74,7 +72,7 @@ do-install: .endfor ${LN} -s ${PREFIX}/${SAVAGEDIR}/libs/libfmod-3.75.so ${PREFIX}/${SAVAGEDIR}/libs/libfmod.so -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${PREFIX}/${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/licenses.txt ${PREFIX}/${DOCSDIR} .endif |