aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/alienwave/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/games/alienwave/Makefile b/games/alienwave/Makefile
index 8c7da82ca656..7e84f2e1d961 100644
--- a/games/alienwave/Makefile
+++ b/games/alienwave/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: alienwave
-# Date created: 23 July 2005
-# Whom: Travis Poppe <tlp@liquidx.org>
-#
+# Created by: Travis Poppe <tlp@liquidx.org>
# $FreeBSD$
-#
PORTNAME= alienwave
PORTVERSION= 0.3.0
@@ -24,10 +20,12 @@ PLIST_FILES= bin/alienwave
PORTDOCS= README STORY TO_DO
OPTIONS_DEFINE= RANDOM_LEVELS DOCS
-OPTIONS_RADIO= LEVEL
-OPTIONS_RADIO_LEVEL= LEVEL_EASY LEVEL_HARD
+OPTIONS_DEFAULT=LEVEL_MEDIUM
+OPTIONS_SINGLE= LEVEL
+OPTIONS_SINGLE_LEVEL= LEVEL_EASY LEVEL_MEDIUM LEVEL_HARD
RANDOM_LEVELS_DESC= Enable random waves
LEVEL_EASY_DESC= Killing Xzarna: easy
+LEVEL_MEDIUM_DESC= Killing Xzarna: medium
LEVEL_HARD_DESC= Killing Xzarna: hard
.include <bsd.port.options.mk>
@@ -47,10 +45,8 @@ CFLAGS+= -DRANDOM_LEVELS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/alienwave ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
-. for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-. endfor
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>