diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2013-05-31 14:40:56 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2013-05-31 14:40:56 +0000 |
commit | 8199e9dc487a0e6b99c306fa637033bf11374c41 (patch) | |
tree | fd7ac6263851705bfeae2fb7d9dce6af494453c8 /games/linux-savage/Makefile | |
parent | fe6302c7633911c7e779bee40e0b1c093ff8260a (diff) | |
download | ports-8199e9dc487a0e6b99c306fa637033bf11374c41.tar.gz ports-8199e9dc487a0e6b99c306fa637033bf11374c41.zip |
Notes
Diffstat (limited to 'games/linux-savage/Makefile')
-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 |