svn commit: r308699 - head/games/alienwave
Jason E. Hale
jhale at FreeBSD.org
Tue Dec 11 14:37:21 UTC 2012
Author: jhale
Date: Tue Dec 11 14:37:20 2012
New Revision: 308699
URL: http://svnweb.freebsd.org/changeset/ports/308699
Log:
- Make difficulty selection a little more intuitive
- Simplify DOCS install
- Trim header
Modified:
head/games/alienwave/Makefile (contents, props changed)
Modified: head/games/alienwave/Makefile
==============================================================================
--- head/games/alienwave/Makefile Tue Dec 11 14:24:51 2012 (r308698)
+++ head/games/alienwave/Makefile Tue Dec 11 14:37:20 2012 (r308699)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: alienwave
-# Date created: 23 July 2005
-# Whom: Travis Poppe <tlp at liquidx.org>
-#
+# Created by: Travis Poppe <tlp at 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>
More information about the svn-ports-head
mailing list