Date: Mon, 21 Oct 2013 19:39:03 GMT From: Vladimir Kondratiev <wulf@mail.mipt.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/183162: [new port] games/cataclysm-dda A fork/variant of Cataclysm Roguelike by Whales Message-ID: <201310211939.r9LJd3JR000150@oldred.freebsd.org> Resent-Message-ID: <201310211940.r9LJe1B1034753@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183162 >Category: ports >Synopsis: [new port] games/cataclysm-dda A fork/variant of Cataclysm Roguelike by Whales >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Oct 21 19:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Vladimir Kondratiev >Release: >Organization: >Environment: >Description: Cataclysm: Dark Days Ahead is a roguelike set in a post-apocalyptic world. While some have described it as a "zombie game", there's far more to Cataclysm than that. Struggle to survive in a harsh, persistant, procedurally generated world. Scavenge the remnants of a dead civilization for for food, equipment, or, if you're lucky, a vehicle with a full tank of gas to get you the hell out of Dodge. Fight to defeat or escape from a wide variety of powerful monstrosities, from zombies to giant insects to killer robots and things far stranger and deadlier, and against the others like yourself, that want what you have... WWW: http://en.cataclysmdda.com/ >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # cataclysm-dda # cataclysm-dda/files # cataclysm-dda/files/cataclysm.in # cataclysm-dda/Makefile # cataclysm-dda/distinfo # cataclysm-dda/pkg-descr # echo c - cataclysm-dda mkdir -p cataclysm-dda > /dev/null 2>&1 echo c - cataclysm-dda/files mkdir -p cataclysm-dda/files > /dev/null 2>&1 echo x - cataclysm-dda/files/cataclysm.in sed 's/^X//' >cataclysm-dda/files/cataclysm.in << '51d526710052c0bf74575aa6ebbd5bd7' X#!/bin/sh X XBIN=%%PREFIX%%/bin/cataclysm-bin XCHECKFILE=data/changelog.txt XCOPYOPT=-n X Xif [ "x$HOME" = "x" ]; then X HOME=`getent passwd $(id -nu) | cut -d: -f6` Xfi X Xif [ "x$HOME" = "x" ]; then X echo "HOME directory is not found" X exit Xfi X XGAMEDIR=$HOME/.cataclysm Xtest -e $GAMEDIR || mkdir $GAMEDIR X Xif [ ! -d $GAMEDIR ]; then X echo "Can\`t create $GAMEDIR directory" X exit Xfi X Xcd $GAMEDIR X Xif [ -f $CHECKFILE ] && \ X [ `md5 -q $CHECKFILE` != `md5 -q %%DATADIR%%/$CHECKFILE` ]; then X# Silently overwrite old datafiles on version change X# read -p "Game version has changed. Overwrite old data (y/n) " RESP X# if [ "x$RESP" = "xy" ]; then X COPYOPT=-f X# fi Xfi X Xcp -r $COPYOPT %%DATADIR%%/* . X Xexec $BIN $@ 51d526710052c0bf74575aa6ebbd5bd7 echo x - cataclysm-dda/Makefile sed 's/^X//' >cataclysm-dda/Makefile << 'f63361a088a2c2515b3c4c9374addc6c' X# Created by: Vladimir Kondratiev <wulf@mail.mipt.ru> X# $FreeBSD$ X XPORTNAME= cataclysm-dda XPORTVERSION= 0.8 XCATEGORIES= games X XMAINTAINER= wulf@mail.mipt.ru XCOMMENT= A fork/variant of Cataclysm Roguelike by Whales X XUSES= gmake shebangfix XSHEBANG_FILES= lang/*.sh Xbash_CMD= /bin/sh X XUSE_GITHUB= yes XGH_ACCOUNT= CleverRaven XGH_PROJECT= Cataclysm-DDA XGH_TAGNAME= ${PORTVERSION} XGH_COMMIT= 99b6fe4 XMAKE_ARGS+= RELEASE=1 XCXXFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib X XOPTIONS_DEFINE= TILES NLS XOPTIONS_DEFAULT=NLS XTILES_DESC= Use SDL as drawing backend X XSUB_FILES= cataclysm XRESOURCES= data XPLIST_FILES= bin/cataclysm bin/cataclysm-bin XPORTDATA= * XPORTDOCS= * X X.include <bsd.port.options.mk> X X.if ${PORT_OPTIONS:MTILES} XUSE_SDL= sdl ttf image XRESOURCES+= gfx XGAMEBIN= cataclysm-tiles XMAKE_ARGS+= TILES=1 X.else XUSES+= ncurses XGAMEBIN= cataclysm X.endif X X.if ${PORT_OPTIONS:MNLS} XUSES+= gettext XRESOURCES+= lang/mo XLDFLAGS+= -lintl XMAKE_ARGS+= L10N=localization X.else XMAKE_ARGS+= LOCALIZE=0 X.endif X Xpost-patch: X ${REINPLACE_CMD} -e '/^CXX *=/d ; s/^\(LD *= *\).*$$/\1$$(CXX)/ ; \ X /OTHERS += -O3/d ; s/\(-lncurses\)\(w*\)/\1\2 -ltinfo\2/' \ X ${WRKSRC}/Makefile X Xdo-install: X ${INSTALL_SCRIPT} ${WRKDIR}/cataclysm ${STAGEDIR}${PREFIX}/bin/ X ${INSTALL_PROGRAM} ${WRKSRC}/${GAMEBIN} ${STAGEDIR}${PREFIX}/bin/cataclysm-bin X.for RESOURCE in ${RESOURCES} X cd ${WRKSRC} && ${COPYTREE_SHARE} ${RESOURCE} ${STAGEDIR}${DATADIR} X.endfor X ${MKDIR} ${STAGEDIR}${DOCSDIR} X ${FIND} ${WRKSRC} \( -name "*.md" -or -name "*.txt" \) \ X -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/ \; X X.include <bsd.port.mk> f63361a088a2c2515b3c4c9374addc6c echo x - cataclysm-dda/distinfo sed 's/^X//' >cataclysm-dda/distinfo << 'cdfeb4b824668bfb0c484b5865e0c39f' XSHA256 (cataclysm-dda-0.8.tar.gz) = f0e07058b9a7b821c54a57ec5fb71b2b58812b491d0f88dfb61aa381ea6577f0 XSIZE (cataclysm-dda-0.8.tar.gz) = 4575729 cdfeb4b824668bfb0c484b5865e0c39f echo x - cataclysm-dda/pkg-descr sed 's/^X//' >cataclysm-dda/pkg-descr << '4df061dfe6a8324b1c6686beee7ebc43' XCataclysm: Dark Days Ahead is a roguelike set in a post-apocalyptic world. XWhile some have described it as a "zombie game", there's far more to XCataclysm than that. Struggle to survive in a harsh, persistant, Xprocedurally generated world. Scavenge the remnants of a dead civilization Xfor for food, equipment, or, if you're lucky, a vehicle with a full tank of Xgas to get you the hell out of Dodge. Fight to defeat or escape from a wide Xvariety of powerful monstrosities, from zombies to giant insects to killer Xrobots and things far stranger and deadlier, and against the others like Xyourself, that want what you have... X XWWW: http://en.cataclysmdda.com/ 4df061dfe6a8324b1c6686beee7ebc43 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310211939.r9LJd3JR000150>