View | Details | Raw Unified | Return to bug 76662
Collapse All | Expand All

(-)traindirector/Makefile (-2 / +3 lines)
Lines 6-14 Link Here
6
#
6
#
7
7
8
PORTNAME=	traindirector
8
PORTNAME=	traindirector
9
PORTVERSION=	1.19
9
PORTVERSION=	1.19c
10
CATEGORIES=	games
10
CATEGORIES=	games
11
MASTER_SITES=	http://xtsl.free.fr/119/
11
MASTER_SITES=	http://xtsl.free.fr/119c/
12
DISTNAME=	traindir-${PORTVERSION}-src
12
DISTNAME=	traindir-${PORTVERSION}-src
13
13
14
MAINTAINER=	mad@madpilot.net
14
MAINTAINER=	mad@madpilot.net
Lines 20-25 Link Here
20
USE_X_PREFIX=	yes
20
USE_X_PREFIX=	yes
21
USE_GNOME=	gtk12
21
USE_GNOME=	gtk12
22
USE_REINPLACE=	yes
22
USE_REINPLACE=	yes
23
USE_BZIP2=	yes
23
24
24
post-extract:
25
post-extract:
25
.for file in Makefile field.c loadsave.c run.c setup_trdir.sh tgraph.c track.c track1.c trsim.c
26
.for file in Makefile field.c loadsave.c run.c setup_trdir.sh tgraph.c track.c track1.c trsim.c
(-)traindirector/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (traindir-1.19-src.tar.gz) = de2061045585874daad4099ee89c87af
1
MD5 (traindir-1.19c-src.tar.bz2) = e6b0ee6fa10c155894db695f757a4b21
2
SIZE (traindir-1.19-src.tar.gz) = 142862
2
SIZE (traindir-1.19c-src.tar.bz2) = 112924
(-)traindirector/files/patch-setup_trdir.sh (-10 / +15 lines)
Lines 1-5 Link Here
1
--- setup_trdir.sh.orig	Wed Feb 18 15:03:49 2004
1
--- setup_trdir.sh.orig	Tue Jan 25 13:44:55 2005
2
+++ setup_trdir.sh	Wed Feb 18 15:10:49 2004
2
+++ setup_trdir.sh	Tue Jan 25 13:45:30 2005
3
@@ -6,9 +6,9 @@
3
@@ -6,9 +6,9 @@
4
 # edit the folowing line
4
 # edit the folowing line
5
 #
5
 #
Lines 21-27 Link Here
21
 ICONDIR="$TDHOMEDIR/tdicons"
21
 ICONDIR="$TDHOMEDIR/tdicons"
22
 LOCALEDIR="$TDHOMEDIR/locales"
22
 LOCALEDIR="$TDHOMEDIR/locales"
23
 if ! test -d $TDHOMEDIR  ; then
23
 if ! test -d $TDHOMEDIR  ; then
24
@@ -37,7 +37,7 @@
24
@@ -38,7 +38,7 @@
25
 
25
 
26
 case $CHOIX in
26
 case $CHOIX in
27
     "2") FLNAME=".traindir.it"
27
     "2") FLNAME=".traindir.it"
Lines 30-50 Link Here
30
          STRING='locale .it';;
30
          STRING='locale .it';;
31
 	 	 
31
 	 	 
32
     "3") FLNAME=".traindir.fr"
32
     "3") FLNAME=".traindir.fr"
33
@@ -54,9 +54,7 @@
33
@@ -56,12 +56,10 @@
34
     cp -f $SAMPLE/traindir/locales/$FLNAME $HOME/.traindir/
34
 if ! test -d $HOME/.traindir ; then
35
     mkdir $HOME/.traindir
35
 fi
36
 fi
36
 
37
-    echo $STRING > $HOME/.traindir/.traindir.ini
38
-    cp -f $SAMPLE/traindir/locales/$FLNAME $HOME/.traindir/
39
-
37
-cp -f $SAMPLE/traindir/* $TDHOMEDIR
40
-cp -f $SAMPLE/traindir/* $TDHOMEDIR
38
-cp -f $SAMPLE/traindir/tdicons/*.*  $ICONDIR 
41
-cp -f $SAMPLE/traindir/tdicons/*.*  $ICONDIR 
39
-
42
+echo $STRING > $HOME/.traindir/.traindir.ini
43
+cp -f -R $SAMPLE/traindir/locales/$FLNAME $HOME/.traindir/
44
 
40
+cp -f -R $SAMPLE/traindir/* $TDHOMEDIR
45
+cp -f -R $SAMPLE/traindir/* $TDHOMEDIR
41
 
46
 
42
 echo
47
 echo
43
 echo   "Creating startup script......"
48
 echo   "Creating startup script......"
44
@@ -64,11 +62,13 @@
49
@@ -69,12 +67,13 @@
45
 echo   "#!/bin/sh" > $HOME/traindir.sh
50
 echo   "#!/bin/sh" > $HOME/traindir.sh
46
 echo   "# Startup file for traindirector" >> $HOME/traindir.sh
51
 echo   "# Startup file for traindirector" >> $HOME/traindir.sh
47
 echo   "#" >> $HOME/sstart-traindir
52
 echo   "#" >> $HOME/traindir.sh
48
-echo   "TDHOME=\"$HOME/traindir\"" >> $HOME/traindir.sh
53
-echo   "TDHOME=\"$HOME/traindir\"" >> $HOME/traindir.sh
49
+echo   "TDHOME=\"$HOME/.traindir\"" >> $HOME/traindir.sh
54
+echo   "TDHOME=\"$HOME/.traindir\"" >> $HOME/traindir.sh
50
 echo   "export TDHOME" >> $HOME/traindir.sh
55
 echo   "export TDHOME" >> $HOME/traindir.sh
Lines 54-60 Link Here
54
 chmod 0775 $HOME/traindir.sh
59
 chmod 0775 $HOME/traindir.sh
55
 echo "Installation complete"
60
 echo "Installation complete"
56
-echo "You can run ~/traindir.sh from a X console"
61
-echo "You can run ~/traindir.sh from a X console"
57
\ No newline at end of file
62
-
58
+echo "a script file 'traindir.sh' has been created in the current"
63
+echo "a script file 'traindir.sh' has been created in the current"
59
+echo "directory. You can launch it to start the simulation, or move it"
64
+echo "directory. You can launch it to start the simulation, or move it"
60
+echo "to your user's bin directory if you want."
65
+echo "to your user's bin directory if you want."

Return to bug 76662