aboutsummaryrefslogtreecommitdiff
path: root/games/linux-nerogame
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-05-31 14:40:56 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-05-31 14:40:56 +0000
commit8199e9dc487a0e6b99c306fa637033bf11374c41 (patch)
treefd7ac6263851705bfeae2fb7d9dce6af494453c8 /games/linux-nerogame
parentfe6302c7633911c7e779bee40e0b1c093ff8260a (diff)
downloadports-8199e9dc487a0e6b99c306fa637033bf11374c41.tar.gz
ports-8199e9dc487a0e6b99c306fa637033bf11374c41.zip
Notes
Diffstat (limited to 'games/linux-nerogame')
-rw-r--r--games/linux-nerogame/Makefile12
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