Update of /cvsroot/fink/dists/10.3/stable/main/finkinfo/games In directory sc8-pr-cvs1:/tmp/cvs-serv3411
Added Files: amaze.info angband-nox.info angband.info cmatrix.info cmatrix.patch dopewars.info gnuchess.info nibbles.info tornado.info tornado.patch Removed Files: angband-3.0.3-12.info angband-nox-3.0.3-11.info cmatrix-1.2a-11.patch dopewars-1.5.7-12.info gnuchess-5.04-2.info nibbles-1.1-12.info tornado-1.2-2.info tornado-1.2-2.patch Log Message: name changes and fixed deps --- NEW FILE: amaze.info --- Package: amaze Version: 0.0 Revision: 13 Source: http://www.itee.uq.edu.au/~leonard/personal/software/%n.tar.gz Source-MD5: da0e21279b8fb6f57039e3b3de9fd3fd BuildDepends: ncurses-dev (>= 5.3-20031018-1) Depends: ncurses, ncurses-shlibs GCC: 3.3 CompileScript: << cc -I%p/include -L%p/lib -lncurses amaze.c -o amaze strip %n << InstallScript: << mkdir -p %i/share/man/man6 mkdir -p %i/share/%n mkdir -p %i/bin/ cp %n.6 %i/share/man/man6/ cp %n %i/bin/ head -9 amaze.c >> %i/share/%n/LICENSE << Description: Text-based 3D maze game DescUsage: << See manpage for keys and how to play. << License: BSD Maintainer: Ben Hines <[EMAIL PROTECTED]> Homepage: http://www.itee.uq.edu.au/~leonard/personal/software/ --- NEW FILE: angband-nox.info --- Package: angband-nox Version: 3.0.3 Revision: 12 Maintainer: James Gibbs <[EMAIL PROTECTED]> Source: mirror:custom:Source/angband-%v.tar.gz Source-MD5: 5a2796eca8faffe25a519770e7029388 BuildDepends: ncurses-dev (>= 5.3-20031018-1) CustomMirror: << nam-US: ftp://clockwork.dementia.org/angband/ nam-US: ftp://ftp.greyhelm.com/pub/Games/Angband/Angband-2.7.x/ eur-SE: ftp://ftp.sunet.se/pub/games/Angband/ oce-AU: ftp://ftp.planetmirror.com/pub/angband/ << Depends: passwd, ncurses, ncurses-shlibs GCC: 3.3 Conflicts: angband Replaces: angband ConfigureParams: --with-libpath=%p/var/games/%n/lib/ --without-x --disable-gtk --with-setgid=games InstallScript: << make install DESTDIR=%d bindir=%p/bin mkdir -p %i/var/games/%n/ cp -rp lib %i/var/games/%n/ << DocFiles: AUTHORS changes.txt compile.txt COPYING THANKS TODO readme.txt Description: Curses-based dungeon exploration game DescDetail: << Angband is a "graphical" dungeon adventure game using textual characters to represent the walls and floors of a dungeon and the inhabitants therein, in the vein of "rogue", "hack", "nethack", and "moria". << License: GPL Homepage: http://www.thangorodrim.net/ --- NEW FILE: angband.info --- Package: angband Version: 3.0.3 Revision: 13 Maintainer: James Gibbs <[EMAIL PROTECTED]> Source: mirror:custom:Source/angband-%v.tar.gz Source-MD5: 5a2796eca8faffe25a519770e7029388 CustomMirror: << nam-US: ftp://clockwork.dementia.org/angband/ nam-US: ftp://ftp.greyhelm.com/pub/Games/Angband/Angband-2.7.x/ eur-SE: ftp://ftp.sunet.se/pub/games/Angband/ oce-AU: ftp://ftp.planetmirror.com/pub/angband/ << Conflicts: angband-nox Replaces: angband-nox BuildDepends: gtk+, dlcompat-dev, gettext-dev, gettext-bin, ncurses-dev (>= 5.3-20031018-1) Depends: gtk+-shlibs, x11, passwd, dlcompat-shlibs, ncurses, ncurses-shlibs GCC: 3.3 ConfigureParams: --with-libpath=%p/var/games/%n/lib/ --with-x --enable-gtk --with-setgid=games InstallScript: << make install DESTDIR=%d bindir=%p/bin mkdir -p %i/var/games/%n/ cp -rp lib %i/var/games/%n/ << DocFiles: AUTHORS changes.txt compile.txt COPYING THANKS TODO readme.txt Description: Curses- or X11-based dungeon exploration game DescDetail: << Angband is a "graphical" dungeon adventure game using textual characters to represent the walls and floors of a dungeon and the inhabitants therein, in the vein of "rogue", "hack", "nethack", and "moria". << License: GPL Homepage: http://www.thangorodrim.net/ --- NEW FILE: cmatrix.info --- Package: cmatrix Version: 1.2a Revision: 13 Description: Scrolling random text effect like The Matrix BuildDepends: ncurses-dev (>= 5.3-20031018-1) Depends: ncurses, ncurses-shlibs GCC: 3.3 License: GPL Suggests: xfontpath DescDetail: << Cool screen effect which scrolls random lines of text like 'The Matrix', my fave movie. If you haven't seen this movie and you are a fan of computers or sci-fi in general, go see it! An X11 font is also included in the distribution =-) try CMatrix with the mtx.pcf font loaded in a transparent aterm... << DescUsage: << You will need a terminfo file capable of displaying color. Visit Mac OS X hints for instructions on setting this up: <http://www.macosxhints.com/article.php?story=20020408225741777> If you are just running this in Apple's Terminal, i.e. no xwindows, you could probably download a TrueType "matrix" font and use that (please send me the url if you find one). My terminal is configured to use the font "#PilGi", a symbol font which looks nice with cmatrix (Jaguar only?), the window background is black with 17% transparency, and scrollback buffer disabled. Then try: cmatrix -fab cmatrix -fabx (for xwindows) Type reset to restore default term colors when you quit cmatrix. << DescPort: << The build process automatically looks for an X installation and tries to reconfigure itself accordingly but it doesn't recognise /sw. I don't use X, so I hope this install works correctly with fink! Patched configure to remove all the font stuff. The -DHAVE_SETFONT forces the program compiles with x font support even though configure doesn't find a fink-installed X. << Homepage: http://www.astyanax.org/cmatrix/ Source: http://www.astyanax.org/%n/dist/%n-%v.tar.gz Source-MD5: ebfb5733104a258173a9ccf2669968a1 Maintainer: Carsten Klapp <[EMAIL PROTECTED]> DocFiles: TODO NEWS COPYING README AUTHORS ChangeLog Patch: %n.patch CompileScript: << ./configure --prefix=%p --mandir='${prefix}/share/man' make CFLAGS='-O3 -DHAVE_SETFONT' << InstallScript: << make prefix= DESTDIR=%i install mkdir -p %i/lib/kbd/consolefonts mkdir -p %i/lib/X11/fonts/misc strip %i/bin/cmatrix install -m 644 matrix.fnt %i/lib/kbd/consolefonts install -m 644 matrix.psf.gz %i/lib/kbd/consolefonts install -m 644 mtx.pcf %i/lib/X11/fonts/misc << --- NEW FILE: cmatrix.patch --- diff -ru2 cmatrix-1.2a/Makefile.in cmatrix-1.2a-patched/Makefile.in --- cmatrix-1.2a/Makefile.in Mon Apr 1 02:11:59 2002 +++ cmatrix-1.2a-patched/Makefile.in Sun Oct 13 07:17:01 2002 @@ -404,33 +404,4 @@ install-data-local: - @if test -d /usr/share/consolefonts; then \ - echo " Installing matrix fonts in /usr/share/consolefonts..."; \ - $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/share/consolefonts; \ - $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/share/consolefonts; \ - fi - @if test -d /usr/lib/kbd/consolefonts; then \ - echo " Installing matrix fonts in /usr/lib/kbd/consolefonts..."; \ - $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/lib/kbd/consolefonts; \ - $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/lib/kbd/consolefonts; \ - fi - @if test -d /usr/lib/X11/fonts/misc; then \ - echo " Installing X window matrix fonts in /usr/lib/X11/fonts/misc..."; \ - $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \ - $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \ - echo " Running mkfontdir /usr/lib/X11/fonts/misc..."; \ - $(MKFONTDIR) /usr/lib/X11/fonts/misc; \ - echo " Done. If this is the first time you have installed CMatrix you will"; \ - echo " probably have to restart X window in order to use the mtx.pcf font."; \ - else \ - if test -d /usr/X11R6/lib/X11/fonts/misc; then \ - echo " Installing X window matrix fonts in /usr/X11R6/lib/X11/fonts/misc..."; \ - $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \ - $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \ - echo " Running mkfontdir /usr/X11R6/lib/X11/fonts/misc..."; \ - $(MKFONTDIR) /usr/X11R6/lib/X11/fonts/misc; \ - echo " Done. If this is the first time you have installed CMatrix you will"; \ - echo " probably have to restart X window in order to use the mtx.pcf font."; \ - fi \ - fi # Tell versions [3.59,3.63) of GNU make to not export all variables. diff -ru2 cmatrix-1.2a/configure cmatrix-1.2a-patched/configure --- cmatrix-1.2a/configure Mon Apr 1 01:17:59 2002 +++ cmatrix-1.2a-patched/configure Sat Oct 12 16:30:58 2002 @@ -1778,234 +1778,4 @@ fi -# Extract the first word of "consolechars", so it can be a program name with args. -set dummy consolechars; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1784: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_CONSOLECHARS'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - case "$CONSOLECHARS" in - /*) - ac_cv_path_CONSOLECHARS="$CONSOLECHARS" # Let the user override the test with a path. - ;; - ?:/*) - ac_cv_path_CONSOLECHARS="$CONSOLECHARS" # Let the user override the test with a dos path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_CONSOLECHARS="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_path_CONSOLECHARS" && ac_cv_path_CONSOLECHARS="""" - ;; -esac -fi -CONSOLECHARS="$ac_cv_path_CONSOLECHARS" -if test -n "$CONSOLECHARS"; then - echo "$ac_t""$CONSOLECHARS" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -# Extract the first word of "setfont", so it can be a program name with args. -set dummy setfont; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1820: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_SETFONT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - case "$SETFONT" in - /*) - ac_cv_path_SETFONT="$SETFONT" # Let the user override the test with a path. - ;; - ?:/*) - ac_cv_path_SETFONT="$SETFONT" # Let the user override the test with a dos path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_SETFONT="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_path_SETFONT" && ac_cv_path_SETFONT="""" - ;; -esac -fi -SETFONT="$ac_cv_path_SETFONT" -if test -n "$SETFONT"; then - echo "$ac_t""$SETFONT" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - -if test x$CONSOLECHARS = x; then - if test x$SETFONT = x; then - echo "configure: warning: - -*** neither the consolechars nor the setfont program was not found. You -*** will not be able to see the characters in the matrix font in the -*** console without this program (it may still work in xterms). If you are -*** using Linux, the package containing this program is usually called -*** kbd, kbd-utils, or console-utils -" 1>&2 - else - cat >> confdefs.h <<EOF -#define HAVE_SETFONT $SETFONT -EOF - - fi -else - cat >> confdefs.h <<EOF -#define HAVE_CONSOLECHARS $CONSOLECHARS -EOF - -fi - -if test x$CONSOLECHARS != x -o x$CONSOLECHARS != x'"$CONSOLECHARS"'; then - if test x$SETFONT != x -o x$SETFONT != x'"$SETFONT"'; then - - for ac_file in /usr/lib/kbd/consolefonts /usr/share/consolefonts -do - -ac_safe=`echo "$ac_file" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_file""... $ac_c" 1>&6 -echo "configure:1885: checking for $ac_file" >&5 -if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - { echo "configure: error: Cannot check for file existence when cross compiling" 1>&2; exit 1; } -else - if test -r $ac_file; then - eval "ac_cv_file_$ac_safe=yes" - else - eval "ac_cv_file_$ac_safe=no" - fi -fi -fi -if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_file=HAVE_`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <<EOF -#define $ac_tr_file 1 -EOF - -else - echo "$ac_t""no" 1>&6 - -fi -done - - - if test "x$ac_cv_file__usr_lib_kbd_consolefonts" = "xno"; then - if test "x$ac_cv_file__usr_share_consolefonts" = "xno"; then - echo "configure: warning: - -*** You do not appear to have a consolefonts directory in a standard location -*** (/usr/lib/kbd or /usr/share), even though you appear to have the -*** consolechars and/or setfont command. The matrix font for the console -*** will not be installed. This means you will not be able to use the -*** matrix console font (and the -l command line switch) unless the font -*** is located in your current directory when you run CMatrix. -" 1>&2 - fi - fi - fi -fi - - -# Extract the first word of "mkfontdir", so it can be a program name with args. -set dummy mkfontdir; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1933: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_MKFONTDIR'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - case "$MKFONTDIR" in - /*) - ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. - ;; - ?:/*) - ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a dos path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH:/usr/bin:/usr/bin/X11:/usr/local/bin/X11:/usr/X11R6/bin:/usr/local/bin:/sbin:/usr/sbin" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_MKFONTDIR="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_path_MKFONTDIR" && ac_cv_path_MKFONTDIR="""" - ;; -esac -fi -MKFONTDIR="$ac_cv_path_MKFONTDIR" -if test -n "$MKFONTDIR"; then - echo "$ac_t""$MKFONTDIR" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -for ac_file in /usr/lib/X11/fonts/misc /usr/X11R6/lib/X11/fonts/misc -do - -ac_safe=`echo "$ac_file" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_file""... $ac_c" 1>&6 -echo "configure:1971: checking for $ac_file" >&5 -if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - { echo "configure: error: Cannot check for file existence when cross compiling" 1>&2; exit 1; } -else - if test -r $ac_file; then - eval "ac_cv_file_$ac_safe=yes" - else - eval "ac_cv_file_$ac_safe=no" - fi -fi -fi -if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_file=HAVE_`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <<EOF -#define $ac_tr_file 1 -EOF - -else - echo "$ac_t""no" 1>&6 - -fi -done - - -if test "x$ac_cv_file__usr_lib_X11_fonts_misc" = "xno"; then - if test "x$ac_cv_file__usr_X11R6_lib_X11_fonts_misc" = "xno"; then - echo "configure: warning: - -*** You do not appear to have an X window fonts directory in the standard -*** locations (/usr/lib/X11/fonts/misc or /usr/X11R6/lib/X11/fonts/misc). The -*** mtx.pcf font will not be installed. This means you will probably not -*** be able to use the mtx fonts in your x terminals, and hence be unable -*** to use the -x command line switch. Sorry about that... -" 1>&2 - fi - fi --- NEW FILE: dopewars.info --- Package: dopewars Version: 1.5.7 Revision: 13 ### Depends: x11, atk1-shlibs, audiofile-shlibs, dlcompat, esound-shlibs, gettext, glib2-shlibs, gtk+2-shlibs (>= 2.0.6-2), libiconv, pango1-shlibs, sdl-shlibs, ncurses, ncurses-shlibs BuildDepends: pkgconfig, glib2, gtk+2, atk1, audiofile, esound, pango1, sdl, dlcompat-dev, gettext-dev, gettext-bin, libiconv-dev, ncurses-dev (>= 5.3-20031018-1) GCC: 3.3 ### Source: mirror:sourceforge:dopewars/%n-%v.tar.gz Source-MD5: 2f31634f39fba51ffb1e02885c59177f ### PatchScript: << #!/bin/sh echo "*** Patching src/Makefile.in ***" sed -e s,"dopewars\$(EXEEXT): \$(dopewars_OBJECTS) \$(dopewars_DEPENDENCIES)","dopewars\$(EXEEXT): \$(dopewars_OBJECTS)", src/Makefile.in > src/Makefile.in.tmp mv src/Makefile.in.tmp src/Makefile.in echo "*** Patching src/plugins/Makefile.in ***" sed -e s,"\.so","\.dylib", src/plugins/Makefile.in > src/plugins/Makefile.in.tmp mv src/plugins/Makefile.in.tmp src/plugins/Makefile.in << ### ConfigureParams: --enable-curses-client --enable-gui-server --enable-gui-client --enable-networking --enable-plugins --with-pic -enable-shared --enable-static --mandir=%i/share/man --infodir=%p/share/info --libexecdir=%p/lib ### DocFiles: ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL LICENCE NEWS README TODO ConfFiles: %p/share/dopewars.sco ### Description: Drug dealing game set in New York DescDetail: << Dopewars is a UNIX rewrite of the MS-DOS program of the same name, which in turn was inspired by John E. Dell's "Drug Wars" game. You have one month to buy and sell drugs on the streets of New York, the aim being first to pay off your debt to the loan shark and then to make a fortune. And if you have to shoot a few cops in the process, well... The game includes TCP networking allowing you to meet (and shoot) other human drug dealers. Computer drug dealers are currently in development. << ### License: GPL Maintainer: Justin F. Hallett <[EMAIL PROTECTED]> Homepage: http://dopewars.sourceforge.net/ --- NEW FILE: gnuchess.info --- Package: gnuchess Version: 5.04 Revision: 3 Depends: readline-shlibs (>= 4.3-5) BuildDepends: readline (>= 4.3-5), ncurses-dev (>= 5.3-20031018-1) Provides: chess Source: mirror:gnu:chess/%n-%v.tar.gz Source-MD5: ddf0a80e857abaef65cac94d1d62c000 PatchScript: << perl -i -pe 's|(BOOKBIN\s+\")(book.dat)|\1%p/lib/gnuchess\2|' src/book.h << SetCC: gcc3 DocFiles: COPYING doc/README doc/ChangeLog Description: GNU Chess DescDetail: << GNU Chess is a full featured chess program. It works both console based and with xboard. << License: GPL Maintainer: Matthias Neeracher <[EMAIL PROTECTED]> Homepage: http://www.gnu.org/software/chess/chess.html --- NEW FILE: nibbles.info --- Package: nibbles Version: 1.1 Revision: 13 Source: http://download.nmee.net/%n/%n-%v.tar.bz2 Source-MD5: 8ee63a14f05dfe523cbc92189f34d05c BuildDepends: ncurses-dev (>= 5.3-20031018-1) Depends: ncurses, ncurses-shlibs GCC: 3.3 CompileScript: << make CC="cc -I%p/include -I/usr/include -L%p/lib" cat README >> LICENSE << InstallScript: << mkdir -p %i/bin/ install -s %n %i/bin/ << DocFiles: README LICENSE Description: Text-based color snake game DescDetail: << Simple ncurses-based console game in which you control a snake. Your objective is to eat as many dots as possible before you crash into yourself or the wall. << DescUsage: << For nibbles to work, you may have to fix your TERMCAP. This is necessary if nibbles complains about not having color. Either 1. See the instructions at: http://www.macosxhints.com/article.php?story=20020408225741777 OR 2. launch it with "TERM=xterm-color; nibbles" << License: Public Domain Maintainer: Ben Hines <[EMAIL PROTECTED]> Homepage: http://www.nmee.net/projects/nibbles/ --- NEW FILE: tornado.info --- Package: tornado Version: 1.2 Revision: 3 Patch: %f.patch PatchScript: << find . -name "Makefile" | xargs perl -pi -e "s/ cpp / cpp3 /g" << Source: http://www.lionking.org/~kiza/linux/%n/%n-%v.tar.gz Source-MD5: 840f85d1db54d50d50190489c8af02d3 Depends: passwd BuildDepends: gettext-dev, gettext-bin, ncurses-dev (>= 5.3-20031018-1) CompileScript: << make PREFIX=%p LOCALEPATH=%p/share/locale LDFLAGS="-L%p/lib -lncurses -lintl" << InstallScript: << make install DESTDIR=%d PREFIX=%p LOCALEPATH=%p/share/locale SCOREDIR=%p/var/games MANDIR=%p/share/man chown -R games:games %i/bin/%n %i/var/games/%n.scores chmod 2101 %i/bin/%n << DocFiles: AUTHOR COPYING CREDITS Changelog INSTALL README TODO Description: Networkable text-based weather destruction DescDetail: << Clone of the original C64 game. The goal of the game is to destroy the opponent's house with certain weather phenomenon: rain, snow, hail, lightning and tornado. The game can be played together (two players), against the computer (or two computer players against each other) or over a TCP connection. For a more detailed description of the game see tornado's manpage. << DescUsage: << If you get "bad MD5" please choose option 2, they change the tarball often. << License: GPL Maintainer: Ben Hines <[EMAIL PROTECTED]> Homepage: http://www.lionking.org/~kiza/linux/tornado/ --- NEW FILE: tornado.patch --- --- tornado-1.2/Makefile 2002-10-11 12:04:15.000000000 -0700 +++ tornado-1.2-patched/Makefile 2002-10-12 04:33:46.000000000 -0700 @@ -9,7 +9,9 @@ LOCALES = de MAN = doc/man DISTDIR = tornado-$(VERSION) - +SCOREDIR = /var/games +DESTDIR = +MANDIR = $(PREFIX)/man ### ### ### You shouldn't need to edit anything beyond this point ### ### ### @@ -42,25 +44,25 @@ $(MAKE) -C $(MAN) clean install: tornado tornado.6 install-locale-data - @echo "Installing tornado binary in $(PREFIX)/bin..." - if [ ! -d "$(PREFIX)/bin" ]; then \ - mkdir -p $(PREFIX)/bin; \ + @echo "Installing tornado binary in $(DESTDIR)$(PREFIX)/bin..." + if [ ! -d "$(DESTDIR)$(PREFIX)/bin" ]; then \ + mkdir -p $(DESTDIR)$(PREFIX)/bin; \ fi - install -s tornado $(PREFIX)/bin + install -s tornado $(DESTDIR)$(PREFIX)/bin $(MAKE) -C $(MAN) install-man - if [ -f "/var/games/tornado.scores" ]; then \ + if [ -f "$(DESTDIR)$(SCOREDIR)/tornado.scores" ]; then \ echo "Skipping install of the highscores file. File exists."; \ - cat /var/games/tornado.scores | ./convert-highscorefile > score.tmp; \ - mv -f score.tmp /var/games/tornado.scores; \ - chmod a+rw-x "/var/games/tornado.scores"; \ + cat $(SCOREDIR)/tornado.scores | ./convert-highscorefile > score.tmp; \ + mv -f score.tmp $(DESTDIR)$(SCOREDIR)/tornado.scores; \ + chmod a+rw-x "$(DESTDIR)$(SCOREDIR)/tornado.scores"; \ else \ - if [ ! -d "/var/games" ]; then \ - mkdir /var/games; \ + if [ ! -d "$(DESTDIR)$(SCOREDIR)" ]; then \ + mkdir -p $(DESTDIR)$(SCOREDIR); \ fi; \ - install tornado.scores /var/games; \ - chmod a+w-x "/var/games/tornado.scores"; \ + install tornado.scores $(DESTDIR)$(SCOREDIR); \ + chmod a+w-x "$(DESTDIR)$(SCOREDIR)/tornado.scores"; \ fi install-locale-data: @@ -75,26 +77,26 @@ tornado-no-locales: tornado tornado.6 tornado-no-locales-install: tornado tornado.6 - if [ ! -d "$(PREFIX)/bin" ]; then \ - mkdir -p $(PREFIX)/bin; \ + if [ ! -d "$(DESTDIR)$(PREFIX)/bin" ]; then \ + mkdir -p $(DESTDIR)$(PREFIX)/bin; \ fi - install -s tornado $(PREFIX)/bin - if [ ! -d "$(PREFIX)/man/man6" ]; then \ - mkdir -p $(PREFIX)/man/man6; \ + install -s tornado $(DESTDIR)$(PREFIX)/bin + if [ ! -d "$(DESTDIR)$(MANDIR)/man6" ]; then \ + mkdir -p $(DESTDIR)$(MANDIR)/man6; \ fi - install -m 0644 tornado.6 $(PREFIX)/man/man6 + install -m 0644 tornado.6 $(MANDIR)/man6 - if [ -f "/var/games/tornado.scores" ]; then \ + if [ -f "$(DESTDIR)$(SCOREDIR)/tornado.scores" ]; then \ echo "Skipping install of the highscores file. File exists."; \ - cat /var/games/tornado.scores | ./convert-highscorefile > score.tmp; \ - mv -f score.tmp /var/games/tornado.scores; \ - chmod a+rw-x "/var/games/tornado.scores"; \ + cat $(DESTDIR)$(SCOREDIR)/tornado.scores | ./convert-highscorefile > score.tmp; \ + mv -f score.tmp $(DESTDIR)$(SCOREDIR)/tornado.scores; \ + chmod a+rw-x "$(DESTDIR)$(SCOREDIR)/tornado.scores"; \ else \ - if [ ! -d "/var/games" ]; then \ - mkdir /var/games; \ + if [ ! -d "$(DESTDIR)$(SCOREDIR)" ]; then \ + mkdir -p $(DESTDIR)$(SCOREDIR); \ fi; \ - install tornado.scores /var/games; \ - chmod a+w-x "/var/games/tornado.scores"; \ + install tornado.scores $(DESTDIR)$(SCOREDIR); \ + chmod a+w-x "$(DESTDIR)$(SCOREDIR)/tornado.scores"; \ fi dist: clean --- tornado-1.2/network.c 2002-09-09 10:07:15.000000000 -0700 +++ tornado-1.2-patched/network.c 2002-10-12 04:09:44.000000000 -0700 @@ -31,6 +31,10 @@ #include <netinet/tcp.h> #include <arpa/inet.h> +#ifndef socklen_t +typedef int socklen_t; +#endif + /* local variables */ static int socketfd; /* active socket file descriptor */ static int const one = 1; /* for the stupid setsockopt(7) function */ --- tornado-1.2/po/Makefile.orig 2002-11-18 16:42:00.000000000 -0800 +++ tornado-1.2/po/Makefile 2002-11-18 16:41:44.000000000 -0800 @@ -12,30 +12,30 @@ msgfmt ru.po -o ru.mo install-locale-data: de.mo fr.mo pt.mo es.mo it.mo - if [ ! -d "$(LOCALEPATH)/de/LC_MESSAGES/" ]; then \ - mkdir -p $(LOCALEPATH)/de/LC_MESSAGES/; \ + if [ ! -d "$(DESTDIR)$(LOCALEPATH)/de/LC_MESSAGES/" ]; then \ + mkdir -p $(DESTDIR)$(LOCALEPATH)/de/LC_MESSAGES/; \ fi - install -m 0644 de.mo $(LOCALEPATH)/de/LC_MESSAGES/tornado.mo - if [ ! -d "$(LOCALEPATH)/fr/LC_MESSAGES/" ]; then \ - mkdir -p $(LOCALEPATH)/fr/LC_MESSAGES/; \ - fi - install -m 0644 fr.mo $(LOCALEPATH)/fr/LC_MESSAGES/tornado.mo - if [ ! -d "$(LOCALEPATH)/pt/LC_MESSAGES/" ]; then \ - mkdir -p $(LOCALEPATH)/pt/LC_MESSAGES/; \ - fi - install -m 0644 pt.mo $(LOCALEPATH)/pt/LC_MESSAGES/tornado.mo - if [ ! -d "$(LOCALEPATH)/es/LC_MESSAGES/" ]; then \ - mkdir -p $(LOCALEPATH)/es/LC_MESSAGES/; \ - fi - install -m 0644 es.mo $(LOCALEPATH)/es/LC_MESSAGES/tornado.mo - if [ ! -d "$(LOCALEPATH)/it/LC_MESSAGES/" ]; then \ - mkdir -p $(LOCALEPATH)/it/LC_MESSAGES/; \ - fi - install -m 0644 it.mo $(LOCALEPATH)/it/LC_MESSAGES/tornado.mo - if [ ! -d "$(LOCALEPATH)/ru/LC_MESSAGES/" ]; then \ - mkdir -p $(LOCALEPATH)/ru/LC_MESSAGES/; \ + install -m 0644 de.mo $(DESTDIR)$(LOCALEPATH)/de/LC_MESSAGES/tornado.mo + if [ ! -d "$(DESTDIR)$(LOCALEPATH)/fr/LC_MESSAGES/" ]; then \ + mkdir -p $(DESTDIR)$(LOCALEPATH)/fr/LC_MESSAGES/; \ + fi + install -m 0644 fr.mo $(DESTDIR)$(LOCALEPATH)/fr/LC_MESSAGES/tornado.mo + if [ ! -d "$(DESTDIR)$(LOCALEPATH)/pt/LC_MESSAGES/" ]; then \ + mkdir -p $(DESTDIR)$(LOCALEPATH)/pt/LC_MESSAGES/; \ + fi + install -m 0644 pt.mo $(DESTDIR)$(LOCALEPATH)/pt/LC_MESSAGES/tornado.mo + if [ ! -d "$(DESTDIR)$(LOCALEPATH)/es/LC_MESSAGES/" ]; then \ + mkdir -p $(DESTDIR)$(LOCALEPATH)/es/LC_MESSAGES/; \ + fi + install -m 0644 es.mo $(DESTDIR)$(LOCALEPATH)/es/LC_MESSAGES/tornado.mo + if [ ! -d "$(DESTDIR)$(LOCALEPATH)/it/LC_MESSAGES/" ]; then \ + mkdir -p $(DESTDIR)$(LOCALEPATH)/it/LC_MESSAGES/; \ + fi + install -m 0644 it.mo $(DESTDIR)$(LOCALEPATH)/it/LC_MESSAGES/tornado.mo + if [ ! -d "$(DESTDIR)$(LOCALEPATH)/ru/LC_MESSAGES/" ]; then \ + mkdir -p $(DESTDIR)$(LOCALEPATH)/ru/LC_MESSAGES/; \ fi - install -m 0644 ru.mo $(LOCALEPATH)/ru/LC_MESSAGES/tornado.mo + install -m 0644 ru.mo $(DESTDIR)$(LOCALEPATH)/ru/LC_MESSAGES/tornado.mo clean: rm -f *.mo --- tornado-1.2/doc/man/Makefile 2002-10-11 15:11:29.000000000 -0700 +++ tornado-1.2-patched/doc/man/Makefile 2002-10-12 04:34:02.000000000 -0700 @@ -11,10 +11,10 @@ install-man: tornado.6 @echo "Installing manpage ..." - if [ ! -d "$(PREFIX)/man/man6" ]; then \ - mkdir -p $(PREFIX)/man/man6; \ + if [ ! -d "$(DESTDIR)$(MANDIR)/man6" ]; then \ + mkdir -p $(DESTDIR)$(MANDIR)/man6; \ fi - install -m 0644 tornado.6 $(PREFIX)/man/man6 + install -m 0644 tornado.6 $(DESTDIR)$(MANDIR)/man6 $(MAKE) -C de install-man $(MAKE) -C fr install-man @@ -24,6 +24,6 @@ $(MAKE) -C fr clean uninstall: - rm -f $(PREFIX)/man/man6/tornado.6 + rm -f $(DESTDIR)$(MANDIR)/man6/tornado.6 $(MAKE) -C de uninstall $(MAKE) -C fr uninstall --- tornado-1.2/doc/man/fr/Makefile 2002-10-11 15:09:52.000000000 -0700 +++ tornado-1.2-patched/doc/man/fr/Makefile 2002-10-12 04:35:13.000000000 -0700 @@ -9,13 +9,13 @@ install-man: tornado.6 @echo "Installing French manpage ..." - if [ ! -d "$(PREFIX)/man/fr/man6" ]; then \ - mkdir -p $(PREFIX)/man/fr/man6; \ + if [ ! -d "$(DESTDIR)$(MANDIR)/fr/man6" ]; then \ + mkdir -p $(DESTDIR)$(MANDIR)/fr/man6; \ fi - install -m 0644 tornado.6 $(PREFIX)/man/fr/man6 + install -m 0644 tornado.6 $(MANDIR)/fr/man6 clean: rm -f tornado.6 uninstall: - rm -f $(PREFIX)/man/fr/man6/tornado.6 + rm -f $(MANDIR)/fr/man6/tornado.6 --- tornado-1.2/doc/man/de/Makefile 2002-01-30 10:36:29.000000000 -0800 +++ tornado-1.2-patched/doc/man/de/Makefile 2002-10-12 04:35:39.000000000 -0700 @@ -9,13 +9,13 @@ install-man: tornado.6 @echo "Installing german manpage ..." - if [ ! -d "$(PREFIX)/man/de/man6" ]; then \ - mkdir -p $(PREFIX)/man/de/man6; \ + if [ ! -d "$(DESTDIR)$(MANDIR)/de/man6" ]; then \ + mkdir -p $(DESTDIR)$(MANDIR)/de/man6; \ fi - install -m 0644 tornado.6 $(PREFIX)/man/de/man6 + install -m 0644 tornado.6 $(DESTDIR)$(MANDIR)/de/man6 clean: rm -f tornado.6 uninstall: - rm -f $(PREFIX)/man/de/man6/tornado.6 \ No newline at end of file + rm -f $(DESTDIR)$(MANDIR)/de/man6/tornado.6 --- tornado-1.2/doc/man/ru/Makefile 2002-01-30 10:36:29.000000000 -0800 +++ tornado-1.2-patched/doc/man/ru/Makefile 2002-10-12 04:35:39.000000000 -0700 @@ -9,13 +9,13 @@ install-man: tornado.6 @echo "Installing Russian manpage ..." - if [ ! -d "$(PREFIX)/man/ru/man6" ]; then \ - mkdir -p $(PREFIX)/man/ru/man6; \ + if [ ! -d "$(DESTDIR)$(MANDIR)/ru/man6" ]; then \ + mkdir -p $(DESTDIR)$(MANDIR)/ru/man6; \ fi - install -m 0644 tornado.6 $(PREFIX)/man/ru/man6 + install -m 0644 tornado.6 $(DESTDIR)$(MANDIR)/ru/man6 clean: rm -f tornado.6 uninstall: - rm -f $(PREFIX)/man/ru/man6/tornado.6 \ No newline at end of file + rm -f $(DESTDIR)$(MANDIR)/ru/man6/tornado.6 --- tornado-1.2/doc/man/it/Makefile 2002-01-30 10:36:29.000000000 -0800 +++ tornado-1.2-patched/doc/man/it/Makefile 2002-10-12 04:35:39.000000000 -0700 @@ -9,13 +9,13 @@ install-man: tornado.6 @echo "Installing Italian manpage ..." - if [ ! -d "$(PREFIX)/man/it/man6" ]; then \ - mkdir -p $(PREFIX)/man/it/man6; \ + if [ ! -d "$(DESTDIR)$(MANDIR)/it/man6" ]; then \ + mkdir -p $(DESTDIR)$(MANDIR)/it/man6; \ fi - install -m 0644 tornado.6 $(PREFIX)/man/it/man6 + install -m 0644 tornado.6 $(DESTDIR)$(MANDIR)/it/man6 clean: rm -f tornado.6 uninstall: - rm -f $(PREFIX)/man/it/man6/tornado.6 + rm -f $(DESTDIR)$(MANDIR)/it/man6/tornado.6 --- angband-3.0.3-12.info DELETED --- --- angband-nox-3.0.3-11.info DELETED --- --- cmatrix-1.2a-11.patch DELETED --- --- dopewars-1.5.7-12.info DELETED --- --- gnuchess-5.04-2.info DELETED --- --- nibbles-1.1-12.info DELETED --- --- tornado-1.2-2.info DELETED --- --- tornado-1.2-2.patch DELETED --- ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Fink-commits mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-commits