diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2004-02-21 09:08:04 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2004-02-21 09:08:04 +0000 |
commit | 161eb19364e906e5700b2b534796aa8917d66ac4 (patch) | |
tree | 19a42a1792fbe10f00ee07f3aca9afccaad8865f /games/traindirector | |
parent | 70cb005fe5082c6f64cc1353e646019b00cb79a3 (diff) | |
download | ports-161eb19364e906e5700b2b534796aa8917d66ac4.tar.gz ports-161eb19364e906e5700b2b534796aa8917d66ac4.zip |
Notes
Diffstat (limited to 'games/traindirector')
-rw-r--r-- | games/traindirector/Makefile | 5 | ||||
-rw-r--r-- | games/traindirector/distinfo | 4 | ||||
-rw-r--r-- | games/traindirector/files/patch-setup_trdir.sh | 54 | ||||
-rw-r--r-- | games/traindirector/pkg-plist | 6 |
4 files changed, 42 insertions, 27 deletions
diff --git a/games/traindirector/Makefile b/games/traindirector/Makefile index e08924d17797..aa0f99df1c97 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 35279c60c677..b82395e6e009 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 b2c7a43bee08..2d7db8c6c825 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 67a314ddce7d..7a53d38e88b9 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 |