aboutsummaryrefslogtreecommitdiffstats
path: root/games/linux-uplink-demo
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-03-14 19:20:54 +0800
committermiwi <miwi@FreeBSD.org>2013-03-14 19:20:54 +0800
commit4eb1612eadc8e2a5fdb343edda1418aa56e0d9aa (patch)
treea9204b90cc101be547e527fde78de45217b69fc4 /games/linux-uplink-demo
parentce6e9471b02499cdef50832e574c8f5c838a7c00 (diff)
downloadfreebsd-ports-gnome-4eb1612eadc8e2a5fdb343edda1418aa56e0d9aa.tar.gz
freebsd-ports-gnome-4eb1612eadc8e2a5fdb343edda1418aa56e0d9aa.tar.zst
freebsd-ports-gnome-4eb1612eadc8e2a5fdb343edda1418aa56e0d9aa.zip
- Convert to Optionsng
- While here trim header
Diffstat (limited to 'games/linux-uplink-demo')
-rw-r--r--games/linux-uplink-demo/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/games/linux-uplink-demo/Makefile b/games/linux-uplink-demo/Makefile
index 2c890d401cef..6c28ed7270c8 100644
--- a/games/linux-uplink-demo/Makefile
+++ b/games/linux-uplink-demo/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: linux-uplink-demo
-# Date created: 25 May 2007
-# Whom: Marcus von Appen <mva@sysfault.org>
-#
+# Created by: Marcus von Appen <mva@sysfault.org>
# $FreeBSD$
-#
PORTNAME= uplink-demo
PORTVERSION= 1.55
@@ -29,11 +25,12 @@ SUB_FILES= uplink
SUB_LIST= LINUXBASE=${LINUXBASE}
DOCFILES= license.txt mods.txt Readme-UplinkSupport.txt readme.txt
-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
@@ -64,4 +61,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>