1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/games/alienwave/Makefile

58 lines
1.2 KiB
Makefile
Raw Normal View History

# 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/
MAINTAINER= ports@FreeBSD.org
COMMENT= Shoot'em up game written using ncurses
LICENSE= GPLv2
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
2012-06-12 16:35:45 +00:00
.include <bsd.port.options.mk>
2012-06-12 16:35:45 +00:00
.if ${PORT_OPTIONS:MLEVEL_EASY}
CFLAGS+= -DLEV_EASY
.endif
2012-06-12 16:35:45 +00:00
.if ${PORT_OPTIONS:MLEVEL_HARD}
CFLAGS+= -DLEV_HARD
.endif
2012-06-12 16:35:45 +00:00
.if ${PORT_OPTIONS:MRANDOM_LEVELS}
CFLAGS+= -DRANDOM_LEVELS
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/alienwave ${PREFIX}/bin
2012-06-12 16:35:45 +00:00
.if ${PORT_OPTIONS:MDOCS}
${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>