From f68c10bd9a53976ef7e42e99755f4d5f5b7f8f0b Mon Sep 17 00:00:00 2001 From: Rusmir Dusko Date: Thu, 28 Nov 2013 19:05:58 +0000 Subject: Fight or Perish (FOP) is a dungeon-crawling game based on Jack Pavelich's Atari 8-bit computer game "Dandy", which was in turn the influence for Atari Games arcade game "Gauntlet". Wikipedia "Gauntlet (1985 video game)" FOP uses concepts from both games, providing one- to four-player action in dungeons filled with creeping enemies. Collect and use bombs to wipe out screenfuls of enemies, keys to unlock doors, and gather food and treasure along the way to stay alive. Choose from four characters, each with different abilities and weaknesses. (The one with the strongest weapon also has the weakest health, the fastest one cannot shoot diagonally, etc.) WWW: http://www.newbreedsoftware.com/fop/ PR: ports/170887 Submitted by: nemysis (self) Approved by: pawel (mentor) --- games/fightorperish/Makefile | 50 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 games/fightorperish/Makefile (limited to 'games/fightorperish/Makefile') diff --git a/games/fightorperish/Makefile b/games/fightorperish/Makefile new file mode 100644 index 000000000000..8ad7e074d750 --- /dev/null +++ b/games/fightorperish/Makefile @@ -0,0 +1,50 @@ +# Created by: Rusmir Dusko +# $FreeBSD$ + +PORTNAME= fightorperish +PORTVERSION= 0.5 +CATEGORIES= games +MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/fop/src/ \ + SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/:icons +DISTFILES= fop-${DISTVERSION}${EXTRACT_SUFX} \ + ${PORTNAME}.png:icons +DIST_SUBDIR= ${PORTNAME} +EXTRACT_ONLY= fop-${DISTVERSION}${EXTRACT_SUFX} + +MAINTAINER= nemysis@FreeBSD.org +COMMENT= Dungeon-crawling game + +LICENSE= GPLv2 + +WRKSRC= ${WRKDIR}/fop-${DISTVERSION} + +USES= gmake +USE_SDL= image mixer sdl +MAKE_JOBS_SAFE= yes + +PORTDOCS= CHANGES.txt README.txt TODO.txt + +DESKTOP_ENTRIES="Fight or Perish" "${COMMENT}" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" false + +OPTIONS_DEFINE= DOCS + +post-patch: + @${REINPLACE_CMD} -e 's|data/|${DATADIR}/data/| ; \ + s|char [256],|char [512],|' ${WRKSRC}/src/fop.c + @${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}| ; \ + s|CFLAGS=-Wall -O2|CFLAGS+=| ; \ + s|SDL_CFLAGS=|SDL_CFLAGS+=| ; \ + s|SDL_LIBS=|SDL_LIBS+=|' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/fop ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @(cd ${WRKSRC}/data && ${COPYTREE_SHARE} "images maps sounds" ${STAGEDIR}${DATADIR}/data) + + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR} + +.include -- cgit v1.2.3