Date: Mon, 14 Jul 2008 13:07:27 +0200 From: Tobias Rehbein <tobias.rehbein@web.de> To: bug-followup@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/125578: [NEW PORT] games/stonesoup: A fun, free rogue-like game Message-ID: <728844948@web.de>
next in thread | raw e-mail | index | archive | help
Murphy hit me... I just created this port and before integration in the ports tree a new version is released. Find attached a shar Archive containing a port for the current version. I just found out that this game is referenced as dcss (Dungeon Crawl Stone Soup) in the announcement of the current version. To be in sync I renamed the port from games/stonesoup to games/dcss. Regards Tobias # 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 << 'END-of-dcss/pkg-descr' 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/ END-of-dcss/pkg-descr echo x - dcss/Makefile sed 's/^X//' >dcss/Makefile << 'END-of-dcss/Makefile' 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> END-of-dcss/Makefile echo x - dcss/pkg-plist sed 's/^X//' >dcss/pkg-plist << 'END-of-dcss/pkg-plist' 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%%/ END-of-dcss/pkg-plist echo x - dcss/distinfo sed 's/^X//' >dcss/distinfo << 'END-of-dcss/distinfo' XMD5 (stone_soup-0.4-src.tbz2) = b5de7db2f28e562d63f29160d670822a XSHA256 (stone_soup-0.4-src.tbz2) = d1cd995b30347fc1b05125ed1c3e9084c987e237f4098ced47f8da086339d7bf XSIZE (stone_soup-0.4-src.tbz2) = 3238073 END-of-dcss/distinfo 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 << 'END-of-dcss/files/patch-makefile.unix' 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 X+"`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 END-of-dcss/files/patch-makefile.unix echo x - dcss/files/patch-AppHdr.h sed 's/^X//' >dcss/files/patch-AppHdr.h << 'END-of-dcss/files/patch-AppHdr.h' 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. END-of-dcss/files/patch-AppHdr.h exit ____________________________________________________________________ Ihre Messenger, Communities und E-Mails jetzt in einem Programm! WEB.DE MultiMessenger http://www.produkte.web.de/messenger/?did=3071
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?728844948>