aboutsummaryrefslogtreecommitdiffstats
path: root/games/linux-nwnclient
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-05-31 22:40:56 +0800
committerjgh <jgh@FreeBSD.org>2013-05-31 22:40:56 +0800
commit5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6 (patch)
treefd7ac6263851705bfeae2fb7d9dce6af494453c8 /games/linux-nwnclient
parentf865d279ae89cb92e74059f7301e136a9da802d8 (diff)
downloadfreebsd-ports-gnome-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.tar.gz
freebsd-ports-gnome-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.tar.zst
freebsd-ports-gnome-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.zip
- adopt optionsNG for games
- trim historical headers and trim comments - some Makefile cleanup Approved by: portmgr (bapt)
Diffstat (limited to 'games/linux-nwnclient')
-rw-r--r--games/linux-nwnclient/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/games/linux-nwnclient/Makefile b/games/linux-nwnclient/Makefile
index d2e62b4205a9..78d0fd8860c8 100644
--- a/games/linux-nwnclient/Makefile
+++ b/games/linux-nwnclient/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: linux_nwnclient
-# Date created: 1 April 2003
-# Whom: Erik Olson <erikolson@olsonexpress.com>
-#
+# Created by: Erik Olson <erikolson@olsonexpress.com>
# $FreeBSD$
-#
PORTNAME= nwnclient
PORTVERSION= 1.69
@@ -36,8 +32,10 @@ USE_LINUX_APPS+=libglu
USE_LINUX_APPS+=dri
.endif
-OPTIONS= NWMOVIES "Install support for movies using BinkPlayer" off
+OPTIONS_DEFINE= NWMOVIES
+NWMOVIES_DESC= Support for movies using BinkPlayer
+.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
# Client detection. Currently, detects only original and Diamond editions.
@@ -45,7 +43,7 @@ OPTIONS= NWMOVIES "Install support for movies using BinkPlayer" off
CLIENT_FILES= nwclientgold.tar.gz:GOLD \
nwclienthotu.tar.gz:HOTU \
English_linuxclient169_xp2.tar.gz:CLIENT
-.if !defined(WITHOUT_NWMOVIES)
+.if ${PORT_OPTIONS:MNWMOVIES}
NWMOVIESFILE= nwmovies-v4-public.20090223.080954.tar.gz
BINKPLAYERFILE= BinkLinuxPlayer.zip
CLIENT_NWMOVIES=${NWMOVIESFILE}:NWMOVIES \