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-nerogame | |
parent | fe6302c7633911c7e779bee40e0b1c093ff8260a (diff) | |
download | ports-8199e9dc487a0e6b99c306fa637033bf11374c41.tar.gz ports-8199e9dc487a0e6b99c306fa637033bf11374c41.zip |
Notes
Diffstat (limited to 'games/linux-nerogame')
-rw-r--r-- | games/linux-nerogame/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/games/linux-nerogame/Makefile b/games/linux-nerogame/Makefile index b5f46e191565..55ff7e40a0f7 100644 --- a/games/linux-nerogame/Makefile +++ b/games/linux-nerogame/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: linux-nerogame -# Date created: 2007-10-04 -# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> -# +# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> # $FreeBSD$ -# PORTNAME= nerogame PORTVERSION= 2.0 @@ -24,15 +20,17 @@ SUB_FILES= nerogame pkg-message DATADIR= share/${PKGNAMEPREFIX}${PORTNAME} WRKSRC= ${WRKDIR}/${DISTNAME} -OPTIONS= NVIDIA "Install support for nvidia" off +OPTIONS_DEFINE= NVIDIA +NVIDIA_DESC= Nvidia support +.include <bsd.port.options.mk> .include <bsd.port.pre.mk> .if ${OSVERSION} < 800076 BROKEN= does not build .endif -.if defined(WITH_NVIDIA) +.if ${PORT_OPTIONS:MNVIDIA} . if !exists(${LINUXBASE}/usr/lib/libGL.so.1) RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver . endif |