Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2012 14:37:21 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308699 - head/games/alienwave
Message-ID:  <201212111437.qBBEbL8Q016721@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212111437.qBBEbL8Q016721>