Update to 1.19c

PR: ports/76662
Submitted by: MAINTAINER
This commit is contained in:
Kevin Lo 2005-01-26 04:22:06 +00:00
parent f574d5ec16
commit 6d9f7b430b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127363
3 changed files with 20 additions and 14 deletions

View file

@ -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

View file

@ -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

View file

@ -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."