From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 15 09:10:44 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7903C16A4CE for ; Thu, 15 Jan 2004 09:10:44 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CE5D43D64 for ; Thu, 15 Jan 2004 09:10:15 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0FHAEFR094120 for ; Thu, 15 Jan 2004 09:10:14 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0FHAET5094119; Thu, 15 Jan 2004 09:10:14 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 15 Jan 2004 09:10:14 -0800 (PST) Resent-Message-Id: <200401151710.i0FHAET5094119@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jan Stocker Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D362A16A4CE for ; Thu, 15 Jan 2004 09:04:33 -0800 (PST) Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AD8A43D53 for ; Thu, 15 Jan 2004 09:04:31 -0800 (PST) (envelope-from Jan.Stocker@t-online.de) Received: from fwd01.aul.t-online.de by mailout08.sul.t-online.com with smtp id 1AhAM2-0000SC-01; Thu, 15 Jan 2004 17:28:22 +0100 Received: from Twoflower.intra.net (Gt4jqrZY8e1zOv+WSg3gUUcIBPb8ylDRM5jkUeFl2emdYdNwGZOyoV@[217.82.143.56]) by fwd01.sul.t-online.com with esmtp id 1AhALt-0u7tvE0; Thu, 15 Jan 2004 17:28:13 +0100 Received: (from jstocker@localhost) by Twoflower.intra.net (8.12.10/8.12.10/Submit) id i0FGSClw013797; Thu, 15 Jan 2004 17:28:12 +0100 (CET) (envelope-from jstocker) Message-Id: <200401151628.i0FGSClw013797@Twoflower.intra.net> Date: Thu, 15 Jan 2004 17:28:12 +0100 (CET) From: Jan.Stocker@t-online.de (Jan Stocker) To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/61387: NEW PORT: games/thudboard X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jan Stocker List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2004 17:10:44 -0000 >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 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 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 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=='': 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: