Date: Tue, 25 Jan 2005 14:20:44 +0100 (CET) From: Guido Falsi <mad@madpilot.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/76662: [maintainer-update] games/traindirector update to 1.19c Message-ID: <200501251320.j0PDKiYU089817@wedge.madpilot.net> Resent-Message-ID: <200501251330.j0PDUSYM054400@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 76662 >Category: ports >Synopsis: [maintainer-update] games/traindirector update to 1.19c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Jan 25 13:30:28 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Guido Falsi >Release: FreeBSD 5.3-STABLE i386 >Organization: none >Environment: System: FreeBSD wedge.madpilot.net 5.3-STABLE FreeBSD 5.3-STABLE #27: Fri Dec 31 18:44:25 CET 2004 root@wedge.madpilot.net:/usr/obj/usr/src/sys/WEDGE i386 >Description: update port to 1.19c >How-To-Repeat: >Fix: diff -ruN traindirector.old/Makefile traindirector/Makefile --- traindirector.old/Makefile Tue Jan 25 13:29:46 2005 +++ traindirector/Makefile Tue Jan 25 13:31:17 2005 @@ -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_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 -ruN traindirector.old/distinfo traindirector/distinfo --- traindirector.old/distinfo Tue Jan 25 13:29:46 2005 +++ traindirector/distinfo Tue Jan 25 13:31:44 2005 @@ -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 -ruN traindirector.old/files/patch-setup_trdir.sh traindirector/files/patch-setup_trdir.sh --- traindirector.old/files/patch-setup_trdir.sh Tue Jan 25 13:29:46 2005 +++ traindirector/files/patch-setup_trdir.sh Tue Jan 25 13:45:51 2005 @@ -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." >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501251320.j0PDKiYU089817>