summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2005-01-26 04:22:06 +0000
committerKevin Lo <kevlo@FreeBSD.org>2005-01-26 04:22:06 +0000
commit6d9f7b430bc8a1451c06059d5addafd32ccb3aea (patch)
treef3cf87da45ad5700d2985cb88ba09afb8e571b0a /games
parentUpdate to 0.11.7.3 (diff)
Update to 1.19c
PR: ports/76662 Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=127363
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.sh25
3 files changed, 20 insertions, 14 deletions
diff --git a/games/traindirector/Makefile b/games/traindirector/Makefile
index aa0f99df1c97..07264543e969 100644
--- a/games/traindirector/Makefile
+++ b/games/traindirector/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= traindirector
-PORTVERSION= 1.19
+PORTVERSION= 1.19c
CATEGORIES= games
-MASTER_SITES= http://xtsl.free.fr/119/
+MASTER_SITES= http://xtsl.free.fr/119c/
DISTNAME= traindir-${PORTVERSION}-src
MAINTAINER= mad@madpilot.net
@@ -20,6 +20,7 @@ USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOME= gtk12
USE_REINPLACE= yes
+USE_BZIP2= yes
post-extract:
.for file in Makefile field.c loadsave.c run.c setup_trdir.sh tgraph.c track.c track1.c trsim.c
diff --git a/games/traindirector/distinfo b/games/traindirector/distinfo
index b82395e6e009..e0be5e65693c 100644
--- a/games/traindirector/distinfo
+++ b/games/traindirector/distinfo
@@ -1,2 +1,2 @@
-MD5 (traindir-1.19-src.tar.gz) = de2061045585874daad4099ee89c87af
-SIZE (traindir-1.19-src.tar.gz) = 142862
+MD5 (traindir-1.19c-src.tar.bz2) = e6b0ee6fa10c155894db695f757a4b21
+SIZE (traindir-1.19c-src.tar.bz2) = 112924
diff --git a/games/traindirector/files/patch-setup_trdir.sh b/games/traindirector/files/patch-setup_trdir.sh
index a0ba25781c2e..6d37266e882b 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 Wed Feb 18 15:03:49 2004
-+++ setup_trdir.sh Wed Feb 18 15:10:49 2004
+--- setup_trdir.sh.orig Tue Jan 25 13:44:55 2005
++++ setup_trdir.sh Tue Jan 25 13:45:30 2005
@@ -6,9 +6,9 @@
# edit the folowing line
#
@@ -21,7 +21,7 @@
ICONDIR="$TDHOMEDIR/tdicons"
LOCALEDIR="$TDHOMEDIR/locales"
if ! test -d $TDHOMEDIR ; then
-@@ -37,7 +37,7 @@
+@@ -38,7 +38,7 @@
case $CHOIX in
"2") FLNAME=".traindir.it"
@@ -30,21 +30,26 @@
STRING='locale .it';;
"3") FLNAME=".traindir.fr"
-@@ -54,9 +54,7 @@
- cp -f $SAMPLE/traindir/locales/$FLNAME $HOME/.traindir/
+@@ -56,12 +56,10 @@
+ if ! test -d $HOME/.traindir ; then
+ mkdir $HOME/.traindir
fi
-
+- echo $STRING > $HOME/.traindir/.traindir.ini
+- cp -f $SAMPLE/traindir/locales/$FLNAME $HOME/.traindir/
+-
-cp -f $SAMPLE/traindir/* $TDHOMEDIR
-cp -f $SAMPLE/traindir/tdicons/*.* $ICONDIR
--
++echo $STRING > $HOME/.traindir/.traindir.ini
++cp -f -R $SAMPLE/traindir/locales/$FLNAME $HOME/.traindir/
+
+cp -f -R $SAMPLE/traindir/* $TDHOMEDIR
echo
echo "Creating startup script......"
-@@ -64,11 +62,13 @@
+@@ -69,12 +67,13 @@
echo "#!/bin/sh" > $HOME/traindir.sh
echo "# Startup file for traindirector" >> $HOME/traindir.sh
- echo "#" >> $HOME/sstart-traindir
+ echo "#" >> $HOME/traindir.sh
-echo "TDHOME=\"$HOME/traindir\"" >> $HOME/traindir.sh
+echo "TDHOME=\"$HOME/.traindir\"" >> $HOME/traindir.sh
echo "export TDHOME" >> $HOME/traindir.sh
@@ -54,7 +59,7 @@
chmod 0775 $HOME/traindir.sh
echo "Installation complete"
-echo "You can run ~/traindir.sh from a X console"
-\ No newline at end of file
+-
+echo "a script file 'traindir.sh' has been created in the current"
+echo "directory. You can launch it to start the simulation, or move it"
+echo "to your user's bin directory if you want."