2005-07-25 16:10:59 +00:00
|
|
|
# New ports collection makefile for: alienwave
|
|
|
|
# Date created: 23 July 2005
|
|
|
|
# Whom: Travis Poppe <tlp@liquidx.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= alienwave
|
|
|
|
PORTVERSION= 0.3.0
|
|
|
|
CATEGORIES= games
|
2009-01-31 22:16:37 +00:00
|
|
|
MASTER_SITES= http://www.alessandropira.org/alienwave/
|
2005-07-25 16:10:59 +00:00
|
|
|
|
2009-05-29 03:19:51 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-07-25 16:10:59 +00:00
|
|
|
COMMENT= Shoot'em up game written using ncurses
|
|
|
|
|
2011-12-14 21:29:16 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2005-07-25 16:10:59 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
|
|
|
|
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="-c ${CFLAGS}"
|
|
|
|
|
|
|
|
PLIST_FILES= bin/alienwave
|
|
|
|
PORTDOCS= README STORY TO_DO
|
|
|
|
|
2012-06-12 16:35:45 +00:00
|
|
|
OPTIONS_DEFINE= RANDOM_LEVELS LEVEL DOCS
|
|
|
|
OPTIONS_SINGLE= LEVEL
|
|
|
|
OPTIONS_SINGLE_LEVEL= LEVEL_EASY LEVEL_HARD
|
|
|
|
RANDOM_LEVELS_DESC= Enable random waves
|
|
|
|
LEVEL_DESC= Choose a level different from medium
|
|
|
|
LEVEL_EASY_DESC= Killing Xzarna: easy
|
|
|
|
LEVEL_HARD_DESC= Killing Xzarna: hard
|
2005-07-25 16:10:59 +00:00
|
|
|
|
2012-06-12 16:35:45 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2005-07-25 16:10:59 +00:00
|
|
|
|
2012-06-12 16:35:45 +00:00
|
|
|
.if ${PORT_OPTIONS:MLEVEL_EASY}
|
2005-07-25 16:10:59 +00:00
|
|
|
CFLAGS+= -DLEV_EASY
|
|
|
|
.endif
|
|
|
|
|
2012-06-12 16:35:45 +00:00
|
|
|
.if ${PORT_OPTIONS:MLEVEL_HARD}
|
2005-07-25 16:10:59 +00:00
|
|
|
CFLAGS+= -DLEV_HARD
|
|
|
|
.endif
|
|
|
|
|
2012-06-12 16:35:45 +00:00
|
|
|
.if ${PORT_OPTIONS:MRANDOM_LEVELS}
|
2005-07-25 16:10:59 +00:00
|
|
|
CFLAGS+= -DRANDOM_LEVELS
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/alienwave ${PREFIX}/bin
|
2012-06-12 16:35:45 +00:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2005-07-25 16:10:59 +00:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
. for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
. endfor
|
|
|
|
.endif
|
|
|
|
|
2012-06-12 16:35:45 +00:00
|
|
|
.include <bsd.port.mk>
|