aboutsummaryrefslogtreecommitdiff
path: root/games/thudboard
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-06-12 13:09:04 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-06-12 13:09:04 +0000
commitda01ac3a6875850437ecede053c8187e1823974d (patch)
tree9a7438f9f4775a037e199eaa43985896603a991f /games/thudboard
parent94ba3ea1d6c5331fbf90b0a3c81df657f11c0c3b (diff)
downloadports-da01ac3a6875850437ecede053c8187e1823974d.tar.gz
ports-da01ac3a6875850437ecede053c8187e1823974d.zip
Notes
Diffstat (limited to 'games/thudboard')
-rw-r--r--games/thudboard/Makefile2
-rw-r--r--games/thudboard/distinfo4
-rw-r--r--games/thudboard/files/patch-battles.py14
-rw-r--r--games/thudboard/files/thudboard9
-rw-r--r--games/thudboard/pkg-plist3
5 files changed, 4 insertions, 28 deletions
diff --git a/games/thudboard/Makefile b/games/thudboard/Makefile
index 3bf247ad731b..1ece49795eeb 100644
--- a/games/thudboard/Makefile
+++ b/games/thudboard/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= thudboard
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= games
MASTER_SITES= http://www.million.nl/file/
diff --git a/games/thudboard/distinfo b/games/thudboard/distinfo
index 18d21c015764..b2424b5f1b7d 100644
--- a/games/thudboard/distinfo
+++ b/games/thudboard/distinfo
@@ -1,2 +1,2 @@
-MD5 (thudboard-1.0.tar.gz) = 84ce0062607fe44d316864fe9df87a2a
-SIZE (thudboard-1.0.tar.gz) = 1010830
+MD5 (thudboard-1.1.tar.gz) = 068e19bd1e74b77a3b37688f3c81c3f3
+SIZE (thudboard-1.1.tar.gz) = 1012230
diff --git a/games/thudboard/files/patch-battles.py b/games/thudboard/files/patch-battles.py
deleted file mode 100644
index a4b35ff1aec9..000000000000
--- a/games/thudboard/files/patch-battles.py
+++ /dev/null
@@ -1,14 +0,0 @@
---- battle.py.orig Tue Jan 13 17:49:47 2004
-+++ battle.py Tue Jan 13 17:50:54 2004
-@@ -411,9 +411,9 @@
- filename = self.filename
- if not filename:
- filename = self.name
-- filename = os.sep.join([os.getcwd(), "battles", filename+".thud"])
-+ filename = os.sep.join(["~/.thudboard/", "battles", filename+".thud"])
- if not self.name or filename=='<anonymous battle>':
-- filename = os.sep.join([os.getcwd(), "battles", ""])
-+ filename = os.sep.join(["~/.thudboard/", "battles", ""])
- return filename
-
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
diff --git a/games/thudboard/files/thudboard b/games/thudboard/files/thudboard
index f4a3a0d6ad38..16aa42ce407e 100644
--- a/games/thudboard/files/thudboard
+++ b/games/thudboard/files/thudboard
@@ -1,11 +1,2 @@
#!/bin/sh
-if [ ! -e ~/.thudboard ]
-then
- mkdir ~/.thudboard
-fi
-if [ ! -e ~/.thudboard/battles ]
-then
- mkdir ~/.thudboard/battles
-fi
-
cd %%PREFIX%%/share/thudboard && %%PYTHON_CMD%% thud.pyc $*
diff --git a/games/thudboard/pkg-plist b/games/thudboard/pkg-plist
index cf2d0627ee5b..93671aa0cb0f 100644
--- a/games/thudboard/pkg-plist
+++ b/games/thudboard/pkg-plist
@@ -1,6 +1,5 @@
bin/thudboard
%%DATADIR%%/battle.py
-%%DATADIR%%/battles/annotated.thud
%%DATADIR%%/skins.py
%%DATADIR%%/img/banner.gif
%%DATADIR%%/img/bcktile.gif
@@ -19,6 +18,7 @@ bin/thudboard
%%DATADIR%%/img/stone.gif
%%DATADIR%%/img/submenubottom.gif
%%DATADIR%%/img/submenuitem.gif
+%%DATADIR%%/img/submenusep.gif
%%DATADIR%%/img/submenutop.gif
%%DATADIR%%/img/thudtitle.gif
%%DATADIR%%/img/troll.gif
@@ -57,7 +57,6 @@ bin/thudboard
%%PORTDOCS%%%%DOCSDIR%%/thudboard.css
%%PORTDOCS%%%%DOCSDIR%%/files/bug.thud
%%PORTDOCS%%%%DOCSDIR%%/files/ThudBoardBug.jpg
-@dirrm %%DATADIR%%/battles
%%PORTDOCS%%@dirrm %%DOCSDIR%%/img
%%PORTDOCS%%@dirrm %%DOCSDIR%%/files
%%PORTDOCS%%@dirrm %%DOCSDIR%%