Date: Thu, 15 Jan 2004 17:28:12 +0100 (CET) From: Jan.Stocker@t-online.de (Jan Stocker) To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/61387: NEW PORT: games/thudboard Message-ID: <200401151628.i0FGSClw013797@Twoflower.intra.net> Resent-Message-ID: <200401151710.i0FHAET5094119@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 61387 >Category: ports >Synopsis: NEW PORT: games/thudboard >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Jan 15 09:10:14 PST 2004 >Closed-Date: >Last-Modified: >Originator: Jan Stocker >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD Twoflower.intra.net 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Dec 31 15:16:12 CET 2003 root@Twoflower.intra.net:/usr/obj/usr/src/sys/Twoflower50 i386 >Description: New port for playing Thud <www.thudgame.com> on a virtual board. # 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: # # games/thudboard # games/thudboard/Makefile # games/thudboard/distinfo # games/thudboard/pkg-descr # games/thudboard/pkg-plist # games/thudboard/files # games/thudboard/files/thudboard # games/thudboard/files/patch-battles.py # echo c - games/thudboard mkdir -p games/thudboard > /dev/null 2>&1 echo x - games/thudboard/Makefile sed 's/^X//' >games/thudboard/Makefile << 'END-of-games/thudboard/Makefile' X# New ports collection makefile for: ThudBoard X# Date created: 04 Januar 2004 X# Whom: Jan Stocker <Jan.Stocker@t-online.de> X# X# $FreeBSD: $ X# X XPORTNAME= thudboard XPORTVERSION= 0.9.6 XCATEGORIES= games XMASTER_SITES= http://www.million.nl/file/ X XMAINTAINER= Jan.Stocker@t-online.de XCOMMENT= The Discworld Boardgame Board X XRUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter X XUSE_PYTHON= yes X XWRKSRC= ${WRKDIR}/thud X Xdo-build: X ${FIND} ${WRKSRC} -name "*.pyc" | ${XARGS} ${RM} X ${FIND} ${WRKSRC} \( -type f -or -type l \) | ${XARGS} ${CHMOD} 644 X ${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} 755 X ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} 2>/dev/null X Xdo-install: X ${RM} ${WRKSRC}/battle.py.orig X ${MKDIR} ${PREFIX}/share/thudboard X ${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${PREFIX}/share/thudboard --unlink -xf - X ${SED} -e "s#%%PREFIX%%#${PREFIX}# ; s#%%PYTHON_CMD%%#${PYTHON_CMD}#" \ X ${FILESDIR}/thudboard > ${WRKDIR}/thudboard.tmp X ${INSTALL_SCRIPT} ${WRKDIR}/thudboard.tmp ${PREFIX}/bin/thudboard X X.include <bsd.port.mk> END-of-games/thudboard/Makefile echo x - games/thudboard/distinfo sed 's/^X//' >games/thudboard/distinfo << 'END-of-games/thudboard/distinfo' XMD5 (thudboard-0.9.6.tar.gz) = ff94f07769147d7c3dd6c84c7bf22eb6 END-of-games/thudboard/distinfo echo x - games/thudboard/pkg-descr sed 's/^X//' >games/thudboard/pkg-descr << 'END-of-games/thudboard/pkg-descr' XThudBoard - The Discworld Boardgame Board X XThudBoard is a computer application that can be used to play Thud battles Xwithout using the actual board. If you don't have a clue what this Thud thing Xis, take a look at the official Thud site at http://www.thudgame.com. X XMultiple battles can be stored, so you can play many games simultaneously Xwithout the onerous task of remembering where each individual piece was in Xthis battle you have been playing with your cousin in XXXX over the last Xfew years. X XWWW: http://www.million.nl/thudboard/ END-of-games/thudboard/pkg-descr echo x - games/thudboard/pkg-plist sed 's/^X//' >games/thudboard/pkg-plist << 'END-of-games/thudboard/pkg-plist' Xbin/thudboard Xshare/thudboard/battle.py Xshare/thudboard/battles/annotated.thud Xshare/thudboard/docs/about.html Xshare/thudboard/docs/download.html Xshare/thudboard/docs/howto.html Xshare/thudboard/docs/img/battleline.gif Xshare/thudboard/docs/img/bcktile.gif Xshare/thudboard/docs/img/copyicon.gif Xshare/thudboard/docs/img/dwarf.gif Xshare/thudboard/docs/img/filemenu.gif Xshare/thudboard/docs/img/helpmenu.gif Xshare/thudboard/docs/img/moveinprogress.gif Xshare/thudboard/docs/img/movepiece.gif Xshare/thudboard/docs/img/optionsmenu.gif Xshare/thudboard/docs/img/pasteicon.gif Xshare/thudboard/docs/img/quicksavemenu.gif Xshare/thudboard/docs/img/quit.gif Xshare/thudboard/docs/img/selectname.gif Xshare/thudboard/docs/img/singleline.gif Xshare/thudboard/docs/img/stone.gif Xshare/thudboard/docs/img/thudpreview.gif Xshare/thudboard/docs/img/thudscreen.jpg Xshare/thudboard/docs/img/thudscroll.gif Xshare/thudboard/docs/img/troll.gif Xshare/thudboard/docs/index.html Xshare/thudboard/docs/thudboard.css Xshare/thudboard/docs/files/bug.thud Xshare/thudboard/docs/files/ThudBoardBug.jpg Xshare/thudboard/images.py Xshare/thudboard/img/banner.gif Xshare/thudboard/img/bcktile.gif Xshare/thudboard/img/board-grid.gif Xshare/thudboard/img/board.gif Xshare/thudboard/img/check.gif Xshare/thudboard/img/copy.gif Xshare/thudboard/img/dwarf.gif Xshare/thudboard/img/list.gif Xshare/thudboard/img/lock.gif Xshare/thudboard/img/noclip.gif Xshare/thudboard/img/nopaste.gif Xshare/thudboard/img/paste.gif Xshare/thudboard/img/score.gif Xshare/thudboard/img/stone.gif Xshare/thudboard/img/submenubottom.gif Xshare/thudboard/img/submenuitem.gif Xshare/thudboard/img/submenutop.gif Xshare/thudboard/img/thudtitle.gif Xshare/thudboard/img/troll.gif Xshare/thudboard/thud.ico Xshare/thudboard/thud.py Xshare/thudboard/battle.pyc Xshare/thudboard/images.pyc Xshare/thudboard/thud.pyc X@dirrm share/thudboard/battles X@dirrm share/thudboard/docs/img X@dirrm share/thudboard/docs/files X@dirrm share/thudboard/docs X@dirrm share/thudboard/img X@dirrm share/thudboard END-of-games/thudboard/pkg-plist echo c - games/thudboard/files mkdir -p games/thudboard/files > /dev/null 2>&1 echo x - games/thudboard/files/thudboard sed 's/^X//' >games/thudboard/files/thudboard << 'END-of-games/thudboard/files/thudboard' X#!/bin/sh Xif [ ! -e ~/.thudboard ] Xthen X mkdir ~/.thudboard Xfi Xif [ ! -e ~/.thudboard/battles ] Xthen X mkdir ~/.thudboard/battles Xfi X Xcd %%PREFIX%%/share/thudboard && %%PYTHON_CMD%% thud.pyc $* END-of-games/thudboard/files/thudboard echo x - games/thudboard/files/patch-battles.py sed 's/^X//' >games/thudboard/files/patch-battles.py << 'END-of-games/thudboard/files/patch-battles.py' X--- battle.py.orig Tue Jan 13 17:49:47 2004 X+++ battle.py Tue Jan 13 17:50:54 2004 X@@ -411,9 +411,9 @@ X filename = self.filename X if not filename: X filename = self.name X- filename = os.sep.join([os.getcwd(), "battles", filename+".thud"]) X+ filename = os.sep.join(["~/.thudboard/", "battles", filename+".thud"]) X if not self.name or filename=='<anonymous battle>': X- filename = os.sep.join([os.getcwd(), "battles", ""]) X+ filename = os.sep.join(["~/.thudboard/", "battles", ""]) X return filename X X #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# END-of-games/thudboard/files/patch-battles.py exit >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401151628.i0FGSClw013797>