aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2004-02-21 17:08:04 +0800
committerlinimon <linimon@FreeBSD.org>2004-02-21 17:08:04 +0800
commit0b217c3e3b9aface4aed0d283b7dc8e092e6c30b (patch)
treea71a9d3a8a559d05ea1f6277c7b65af2cf8d19fe /games
parent439c95f68c89c4277b387801fd7e2b53e7f649f2 (diff)
downloadfreebsd-ports-graphics-0b217c3e3b9aface4aed0d283b7dc8e092e6c30b.tar.gz
freebsd-ports-graphics-0b217c3e3b9aface4aed0d283b7dc8e092e6c30b.tar.zst
freebsd-ports-graphics-0b217c3e3b9aface4aed0d283b7dc8e092e6c30b.zip
Update to 1.19: add Italian and French locales; bugfixes. See ChangeLog
for complete details. PR: ports/63017 Submitted by: Guido Falsi <mad@madpilot.net> (maintainer)
Diffstat (limited to 'games')
-rw-r--r--games/traindirector/Makefile5
-rw-r--r--games/traindirector/distinfo4
-rw-r--r--games/traindirector/files/patch-setup_trdir.sh54
-rw-r--r--games/traindirector/pkg-plist6
4 files changed, 42 insertions, 27 deletions
diff --git a/games/traindirector/Makefile b/games/traindirector/Makefile
index e08924d1779..aa0f99df1c9 100644
--- a/games/traindirector/Makefile
+++ b/games/traindirector/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= traindirector
-PORTVERSION= 1.18n
-PORTREVISION= 1
+PORTVERSION= 1.19
CATEGORIES= games
-MASTER_SITES= http://xtsl.free.fr/118n/
+MASTER_SITES= http://xtsl.free.fr/119/
DISTNAME= traindir-${PORTVERSION}-src
MAINTAINER= mad@madpilot.net
diff --git a/games/traindirector/distinfo b/games/traindirector/distinfo
index 35279c60c67..b82395e6e00 100644
--- a/games/traindirector/distinfo
+++ b/games/traindirector/distinfo
@@ -1,2 +1,2 @@
-MD5 (traindir-1.18n-src.tar.gz) = 8381202f6c49e907780793f65dbec494
-SIZE (traindir-1.18n-src.tar.gz) = 128535
+MD5 (traindir-1.19-src.tar.gz) = de2061045585874daad4099ee89c87af
+SIZE (traindir-1.19-src.tar.gz) = 142862
diff --git a/games/traindirector/files/patch-setup_trdir.sh b/games/traindirector/files/patch-setup_trdir.sh
index b2c7a43bee0..2d7db8c6c82 100644
--- a/games/traindirector/files/patch-setup_trdir.sh
+++ b/games/traindirector/files/patch-setup_trdir.sh
@@ -1,5 +1,5 @@
---- setup_trdir.sh.orig Sat Dec 13 02:34:25 2003
-+++ setup_trdir.sh Sat Dec 13 02:36:42 2003
+--- setup_trdir.sh.orig Wed Feb 18 15:03:49 2004
++++ setup_trdir.sh Wed Feb 18 15:10:49 2004
@@ -6,9 +6,9 @@
# edit the folowing line
#
@@ -12,36 +12,48 @@
##################################################################"
echo "*********************************"
echo "* Traindirector Installation *"
-@@ -16,25 +16,26 @@
+@@ -16,7 +16,7 @@
echo
echo "Making traindir samples directory....."
echo
-TDHOMEDIR="$HOME/traindir"
--ICONDIR="$HOME/traindir/tdicons"
+TDHOMEDIR="$HOME/.traindir"
-+ICONDIR="$HOME/.traindir/tdicons"
+ ICONDIR="$TDHOMEDIR/tdicons"
+ LOCALEDIR="$TDHOMEDIR/locales"
+ if ! test -d $TDHOMEDIR ; then
+@@ -37,7 +37,7 @@
- mkdir $TDHOMEDIR
- mkdir $ICONDIR
+ case $CHOIX in
+ "2") FLNAME=".traindir.it"
+- echo " Avette schelto Italiano"
++ echo "Avete scelto l'italiano"
+ STRING='locale .it';;
+
+ "3") FLNAME=".traindir.fr"
+@@ -54,9 +54,7 @@
+ cp -f $SAMPLE/traindir/locales/$FLNAME $HOME/.traindir/
+ fi
+
+-cp -f $SAMPLE/traindir/* $TDHOMEDIR
+-cp -f $SAMPLE/traindir/tdicons/*.* $ICONDIR
+-
++cp -f -R $SAMPLE/traindir/* $TDHOMEDIR
--cp $SAMPLE/traindir/* $TDHOMEDIR
--cp $SAMPLE/traindir/tdicons/*.* $ICONDIR
-+cp -R $SAMPLE/traindir/* $TDHOMEDIR
echo
echo "Creating startup script......"
- echo
- echo "#!/bin/sh" > start-traindir
- echo "# Startup file for traindirector" >> start-traindir
- echo "#" >> start-traindir
--echo "TDHOME=\"$HOME/traindir\"" >> start-traindir
-+echo "TDHOME=\"$HOME/.traindir\"" >> start-traindir
- echo "export TDHOME" >> start-traindir
- echo "echo starting Traindirector" >> start-traindir
- echo "$TRAINDIR/traindir" >> start-traindir
+@@ -64,11 +62,13 @@
+ echo "#!/bin/sh" > $HOME/traindir.sh
+ echo "# Startup file for traindirector" >> $HOME/traindir.sh
+ echo "#" >> $HOME/sstart-traindir
+-echo "TDHOME=\"$HOME/traindir\"" >> $HOME/traindir.sh
++echo "TDHOME=\"$HOME/.traindir\"" >> $HOME/traindir.sh
+ echo "export TDHOME" >> $HOME/traindir.sh
+ echo "echo starting Traindirector" >> $HOME/traindir.sh
+ echo "$TRAINDIR/traindir" >> $HOME/traindir.sh
- chmod 0775 start-traindir
+ chmod 0775 $HOME/traindir.sh
echo "Installation complete"
--echo "You can run ~/start-traindir from a X console"
+-echo "You can run ~/traindir.sh from a X console"
\ No newline at end of file
+echo "a script file 'start-traindir' has been created in the current"
+echo "directory. You can launch it to start the simulation, or move it"
diff --git a/games/traindirector/pkg-plist b/games/traindirector/pkg-plist
index 67a314ddce7..7a53d38e88b 100644
--- a/games/traindirector/pkg-plist
+++ b/games/traindirector/pkg-plist
@@ -11,5 +11,9 @@ share/traindir/train.ico
share/traindir/tdicons/bridgeup.xpm
share/traindir/tdicons/bridgedn.xpm
share/traindir/tdicons/triangl.xpm
-@dirrm share/traindir/tdicons/
+share/traindir/locales/.traindir.it
+share/traindir/locales/.traindir.fr
+share/traindir/locales/README
+@dirrm share/traindir/tdicons
+@dirrm share/traindir/locales
@dirrm share/traindir