Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2008 19:44:53 +0200
From:      Tobias Rehbein <tobias.rehbein@web.de>
To:        FreeBSD-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org
Subject:   Re: ports/125578: [NEW PORT] games/stonesoup: A fun, free rogue-like game
Message-ID:  <20080714174453.GA33250@sushi.pseudo.local>
In-Reply-To: <200807131750.m6DHo0qf087157@freefall.freebsd.org>
References:  <200807131741.m6DHfJBq026161@sushi.pseudo.local> <200807131750.m6DHo0qf087157@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hmmm. I tried to update my change request via the web.de Webmailer several times
today (a very frustrating experience). As my updates don't show up in gnats I think something went wrong. So
this time I'll send using a proper MUA...

Just after sumbmission of the new port a new version was released. Attached you
find the corresponding shar Archive.

Reading the release announcement I noticed that this game is referenced as dcss
(Dungeon Crawl Stone Soup) therefore the new port should be named games/dcss
rather than games/stonesoup. I changed the port accordingly.

# 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:
#
#	dcss
#	dcss/pkg-descr
#	dcss/Makefile
#	dcss/pkg-plist
#	dcss/distinfo
#	dcss/files
#	dcss/files/patch-makefile.unix
#	dcss/files/patch-AppHdr.h
#
echo c - dcss
mkdir -p dcss > /dev/null 2>&1
echo x - dcss/pkg-descr
sed 's/^X//' >dcss/pkg-descr << '66c3ca542818cc8119d6a4dea9294c70'
XDungeon Crawl Stone Soup is a fun, free rogue-like game of exploration and 
Xtreasure-hunting in dungeons filled with dangerous and unfriendly monsters 
Xin a quest for the mystifyingly fabulous Orb of Zot.
X
XDungeon Crawl Stone Soup is a variant of Linley's Dungeon Crawl that's openly 
Xdeveloped and invites participation from the Crawl community.
X
XWWW:	http://crawl-ref.sourceforge.net/
66c3ca542818cc8119d6a4dea9294c70
echo x - dcss/Makefile
sed 's/^X//' >dcss/Makefile << 'cebebab80963fa88fec340368902b94a'
X# New ports collection makefile for:	dcss
X# Date created:		2008-07-11
X# Whom:			Tobias Rehbein <tobias.rehbein@web.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	dcss
XPORTVERSION=	0.4
XCATEGORIES=	games
XMASTER_SITES=	SF
XMASTER_SITE_SUBDIR=	crawl-ref
XDISTNAME=	stone_soup-${PORTVERSION}-src
XEXTRACT_SUFX=	.tbz2
X
XMAINTAINER=	tobias.rehbein@web.de
XCOMMENT=	Dungeon Crawl Stone Soup - a fun, free rogue-like game
X
XBUILD_DEPENDS=	bison:${PORTSDIR}/devel/bison
X
XUSE_GMAKE=	yes
XMAKEFILE=	makefile
X
XWRKSRC=		${WRKDIR}/${DISTNAME}/source/
X
X.if !defined(WITHOUT_EXAMPLES)
XPLIST_SUB+=	EXAMPLES=""
X.else
XPLIST_SUB+=	EXAMPLES="@comment "
X.endif
X
Xpost-patch:
X	${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/makefile.unix
X	${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR}," ${WRKSRC}/makefile.unix
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	cd ${DATADIR}/docs && \
X		${COPYTREE_SHARE} \* ${DOCSDIR}
X.for doc in CREDITS README.txt licence.txt
X	${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/${doc} ${DOCSDIR}
X.endfor
X.endif
X	${RM} -r ${DATADIR}/docs
X.if !defined(WITHOUT_EXAMPLES)
X	${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_MAN} ${DATADIR}/settings/init.txt ${EXAMPLESDIR}/sample.crawlrc
X.endif
X
X.include <bsd.port.mk>
cebebab80963fa88fec340368902b94a
echo x - dcss/pkg-plist
sed 's/^X//' >dcss/pkg-plist << '05fb666e0d4008972725b553e6736208'
X@comment $FreeBSD$
Xbin/dcss
X@exec chown root:games %F
X@exec chmod 2755 %F
X%%DATADIR%%/dat/lua/chnkdata.lua
X%%DATADIR%%/dat/lua/trapwalk.lua
X%%DATADIR%%/dat/lua/stash.lua
X%%DATADIR%%/dat/lua/safechnk.lua
X%%DATADIR%%/dat/lua/runrest.lua
X%%DATADIR%%/dat/lua/pickup.lua
X%%DATADIR%%/dat/lua/kills.lua
X%%DATADIR%%/dat/lua/gearset.lua
X%%DATADIR%%/dat/lua/eat.lua
X%%DATADIR%%/dat/lua/wield.lua
X%%DATADIR%%/dat/clua/dungeon.lua
X%%DATADIR%%/dat/clua/macro.lua
X%%DATADIR%%/dat/clua/luamark.lua
X%%DATADIR%%/dat/clua/loadmaps.lua
X%%DATADIR%%/dat/clua/lm_tmsg.lua
X%%DATADIR%%/dat/clua/lm_timed.lua
X%%DATADIR%%/dat/clua/lm_props.lua
X%%DATADIR%%/dat/clua/lm_pdesc.lua
X%%DATADIR%%/dat/clua/lm_fog.lua
X%%DATADIR%%/dat/clua/lm_flags.lua
X%%DATADIR%%/dat/clua/lm_1way.lua
X%%DATADIR%%/dat/clua/userbase.lua
X%%DATADIR%%/dat/descript/ability.txt
X%%DATADIR%%/dat/descript/spells.txt
X%%DATADIR%%/dat/descript/skills.txt
X%%DATADIR%%/dat/descript/monsters.txt
X%%DATADIR%%/dat/descript/items.txt
X%%DATADIR%%/dat/descript/gods.txt
X%%DATADIR%%/dat/descript/features.txt
X%%DATADIR%%/dat/descript/branches.txt
X%%DATADIR%%/dat/descript/unident.txt
X%%DATADIR%%/dat/database/godspeak.txt
X%%DATADIR%%/dat/database/shout.txt
X%%DATADIR%%/dat/database/randname.txt
X%%DATADIR%%/dat/database/rand_wpn.txt
X%%DATADIR%%/dat/database/rand_arm.txt
X%%DATADIR%%/dat/database/rand_all.txt
X%%DATADIR%%/dat/database/monspeak.txt
X%%DATADIR%%/dat/database/monname.txt
X%%DATADIR%%/dat/database/miscname.txt
X%%DATADIR%%/dat/database/insult.txt
X%%DATADIR%%/dat/database/help.txt
X%%DATADIR%%/dat/database/wpnnoise.txt
X%%DATADIR%%/dat/altar.des
X%%DATADIR%%/dat/vaults.des
X%%DATADIR%%/dat/temple.des
X%%DATADIR%%/dat/portal.des
X%%DATADIR%%/dat/pan.des
X%%DATADIR%%/dat/orc.des
X%%DATADIR%%/dat/mini.des
X%%DATADIR%%/dat/layout.des
X%%DATADIR%%/dat/large.des
X%%DATADIR%%/dat/lair.des
X%%DATADIR%%/dat/lab.des
X%%DATADIR%%/dat/hive.des
X%%DATADIR%%/dat/hells.des
X%%DATADIR%%/dat/float.des
X%%DATADIR%%/dat/entry.des
X%%DATADIR%%/dat/elf.des
X%%DATADIR%%/dat/crypt.des
X%%DATADIR%%/dat/bazaar.des
X%%DATADIR%%/dat/zot.des
X%%DATADIR%%/settings/034_command_keys.txt
X%%DATADIR%%/settings/tiles_options.txt
X%%DATADIR%%/settings/standard_colours.txt
X%%DATADIR%%/settings/messages.txt
X%%DATADIR%%/settings/menu_colours.txt
X%%DATADIR%%/settings/init.txt
X%%DATADIR%%/settings/food_colouring.txt
X%%DATADIR%%/settings/autopickup_exceptions.txt
X%%DATADIR%%/settings/034_monster_glyphs.txt
X%%DATADIR%%/settings/travel_stoppers.txt
X@exec mkdir %D/%%DATADIR%%/saves/
X@exec chown -R root:games %D/%%DATADIR%%
X@exec chmod 775 %D/%%DATADIR%%/saves
X%%PORTDOCS%%%%DOCSDIR%%/034_changes.txt
X%%PORTDOCS%%%%DOCSDIR%%/aptitudes.txt
X%%PORTDOCS%%%%DOCSDIR%%/coding_conventions.txt
X%%PORTDOCS%%%%DOCSDIR%%/crawl_manual.txt
X%%PORTDOCS%%%%DOCSDIR%%/level_design.txt
X%%PORTDOCS%%%%DOCSDIR%%/lualicense.txt
X%%PORTDOCS%%%%DOCSDIR%%/macros_guide.txt
X%%PORTDOCS%%%%DOCSDIR%%/monster_speech.txt
X%%PORTDOCS%%%%DOCSDIR%%/mt19937.txt
X%%PORTDOCS%%%%DOCSDIR%%/options_guide.txt
X%%PORTDOCS%%%%DOCSDIR%%/pcre_license.txt
X%%PORTDOCS%%%%DOCSDIR%%/quickstart.txt
X%%PORTDOCS%%%%DOCSDIR%%/ssh_guide.txt
X%%PORTDOCS%%%%DOCSDIR%%/tiles_help.txt
X%%PORTDOCS%%%%DOCSDIR%%/CREDITS
X%%PORTDOCS%%%%DOCSDIR%%/README.txt
X%%PORTDOCS%%%%DOCSDIR%%/licence.txt
X%%EXAMPLES%%%%EXAMPLESDIR%%/sample.crawlrc
X@dirrm %%DATADIR%%/dat/lua
X@dirrm %%DATADIR%%/dat/clua
X@dirrm %%DATADIR%%/dat/descript
X@dirrm %%DATADIR%%/dat/database
X@dirrm %%DATADIR%%/dat
X@dirrm %%DATADIR%%/settings
X@unexec rmdir %D/%%DATADIR%%/saves >/dev/null 2>&1 || echo 'dcss directory (%D/%%DATADIR%%/saves) not removed due to existing save games. If you are permanently removing this port, you should do a ``rm -rf %D/%%DATADIR%%``.' | fmt
X@dirrmtry %%DATADIR%%
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/
X%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/
05fb666e0d4008972725b553e6736208
echo x - dcss/distinfo
sed 's/^X//' >dcss/distinfo << '836ec9ef03b276a15b423dca5a53ba2b'
XMD5 (stone_soup-0.4-src.tbz2) = b5de7db2f28e562d63f29160d670822a
XSHA256 (stone_soup-0.4-src.tbz2) = d1cd995b30347fc1b05125ed1c3e9084c987e237f4098ced47f8da086339d7bf
XSIZE (stone_soup-0.4-src.tbz2) = 3238073
836ec9ef03b276a15b423dca5a53ba2b
echo c - dcss/files
mkdir -p dcss/files > /dev/null 2>&1
echo x - dcss/files/patch-makefile.unix
sed 's/^X//' >dcss/files/patch-makefile.unix << 'f920fae8c2ab52ecf414929280cf74f6'
X--- makefile.unix.orig	2008-07-14 04:17:51.000000000 +0200
X+++ makefile.unix	2008-07-14 12:51:07.000000000 +0200
X@@ -4,7 +4,7 @@
X # Modified for Crawl Reference by $Author: ennewalker $ on $Date: 2008-07-04T22:50:41.915156Z $
X #
X 
X-GAME = crawl
X+GAME = dcss
X 
X # this file contains a list of the libraries.
X # it will make a variable called OBJECTS that contains all the libraries
X@@ -37,15 +37,15 @@
X MCHMOD_SAVEDIR := 775
X 
X # The user:group to install the game as.
X-INSTALL_UGRP ?= games:games
X-INSTALLDIR   ?= /usr/games/crawl
X+INSTALL_UGRP ?= root:games
X+INSTALLDIR   ?= %%PREFIX%%/bin
X 
X # If you're installing Crawl for multiple users, you *must* set this to a
X # valid path before building Crawl. This is not necessary if you are building
X # Crawl for a single user.
X 
X-# SAVEDIR := /usr/games/crawl/saves/
X-# DATADIR := /usr/games/crawl/data/
X+SAVEDIR := %%DATADIR%%/saves/
X+DATADIR := %%DATADIR%%/
X 
X LEX  := flex
X YACC := bison -y
X@@ -58,7 +58,7 @@
X NDBM_FILE := /usr/include/ndbm.h
X 
X HAVE_DBH  := $(shell [ -f $(DBH_FILE) ] && echo y)
X-HAVE_NDBM := $(shell [ -f $(NDBM_FILE) -a "`uname`" = "Darwin" ] && echo y)
X+HAVE_NDBM := $(shell [ -f $(NDBM_FILE) -a \( "`uname`" = "Darwin" -o "`uname`" = "FreeBSD" \) ] && echo y)
X 
X ifeq ($(strip $(HAVE_DBH)),y)
X ifneq ($(shell grep dbm_open $(DBH_FILE)),)
X@@ -70,9 +70,11 @@
X ifeq ($(strip $(HAVE_NDBM)),y)
X SELDBM ?= -DDB_NDBM
X ifeq ($(SELDBM),-DDB_NDBM)
X+ifneq ($(shell echo "`uname`"),FreeBSD)
X LIBDBM := -ldbm
X endif
X endif
X+endif
X 
X SQLSRC   := util/sqlite
X SQLLIB   := sqlite3
f920fae8c2ab52ecf414929280cf74f6
echo x - dcss/files/patch-AppHdr.h
sed 's/^X//' >dcss/files/patch-AppHdr.h << 'bfbc7805b9e3b6b051032fb6ca15585b'
X--- AppHdr.h.orig	2008-07-14 04:17:51.000000000 +0200
X+++ AppHdr.h	2008-07-14 10:04:49.000000000 +0200
X@@ -408,8 +408,8 @@
X     // PACKAGE_SUFFIX is used when the package file name is needed
X     //
X     // Comment these lines out if you want to leave the save files uncompressed.
X-    #define SAVE_PACKAGE_CMD    "/usr/bin/zip -m -q -j -1 %s.zip %s.*"
X-    #define LOAD_UNPACKAGE_CMD  "/usr/bin/unzip -q -o %s.zip -d %s"
X+    // #define SAVE_PACKAGE_CMD    "/usr/bin/zip -m -q -j -1 %s.zip %s.*"
X+    // #define LOAD_UNPACKAGE_CMD  "/usr/bin/unzip -q -o %s.zip -d %s"
X 
X #ifdef SAVE_PACKAGE_CMD
X     // This is used to unpack specific files from the archive.
bfbc7805b9e3b6b051032fb6ca15585b
exit




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