diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2013-03-14 11:20:54 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2013-03-14 11:20:54 +0000 |
commit | 5f7fb24f401e3ed3fbe6bac932faf28d80b3dc36 (patch) | |
tree | a9204b90cc101be547e527fde78de45217b69fc4 /games/linux-defcon | |
parent | a01f6eaec9ff2a3b4ec649be375cba93c43e1646 (diff) | |
download | ports-5f7fb24f401e3ed3fbe6bac932faf28d80b3dc36.tar.gz ports-5f7fb24f401e3ed3fbe6bac932faf28d80b3dc36.zip |
- Convert to Optionsng
- While here trim header
Notes
Notes:
svn path=/head/; revision=314144
Diffstat (limited to 'games/linux-defcon')
-rw-r--r-- | games/linux-defcon/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/games/linux-defcon/Makefile b/games/linux-defcon/Makefile index 12e64f90eb1c..9b55a0dbf2ed 100644 --- a/games/linux-defcon/Makefile +++ b/games/linux-defcon/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: linux-defcon -# Date created: 24 May 2007 -# Whom: Marcus von Appen <mva@sysfault.org -# +# Created by: Marcus von Appen <mva@sysfault.org # $FreeBSD$ -# PORTNAME= defcon PORTVERSION= 1.42 @@ -24,11 +20,12 @@ NO_BUILD= yes DATADIR= ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME} SUB_FILES= defcon -OPTIONS= NVIDIA "Install support for nvidia" off +OPTIONS_DEFINE= NVIDIA +NVIDIA_DESC= support for nvidia -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_NVIDIA) +.if ${PORT_OPTIONS:MNVIDIA} RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver USE_LINUX_APPS+=libglu .else @@ -53,4 +50,4 @@ do-install: post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |