Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/games
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21150

Added Files:
        moria.info moria.patch 
Log Message:
New game at someones request.

--- NEW FILE: moria.info ---
Package: moria
Version: 5.5.2
Revision: 1
License: GPL
Maintainer: James Gibbs <[EMAIL PROTECTED]>
Source: mirror:custom:source/um%v.tar.Z
SourceDirectory: umoria
Source-MD5: 04a2852864302c702e82992023d97184
CustomMirror: <<
# nam-US: ftp://ftp.greyhelm.com/pub/Games/Moria/
nam-US: http://www.piratehaven.org/~beej/moria/mirror/Games/Moria/
eur-SE: http://www.funet.fi/pub/unix/games/moria/
oce-AU: http://www.planetmirror.com/pub/roguelike/moria/
<<
Patch: %n.patch
CompileScript: <<
#!/bin/sh
cp -Rp unix/* source/
cd source/
make
<<
InstallScript: <<
#!/bin/sh
chmod 4511 source/moria
chmod 644 files/scores
chmod 444 files/hours
chmod 444 files/news
mkdir -p -m 0775 %i/var/games/%n/files/
mkdir -p -m 0775 %i/bin/
mkdir -p -m 0775 %i/share/doc/%n/doc/
mkdir -p -m 0775 %i/share/man/man6/
cp -Rp files/* %i/var/games/%n/files/
cp -p source/moria %i/bin/
cp -Rp doc/* %i/share/doc/%n/doc/
cp doc/moria.6 %i/share/man/man6/
<<
DocFiles: OCHANGES OOCHANGES CHANGES.~1~ CHANGES ERRORS INSTALL README
ConfFiles: %p/var/games/%n/files/scores
Description: terminal-based dungeon exploration game
DescDetail: <<
Moria 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", "angband", and "t.o.m.e.".
<<
Homepage: http://www.piratehaven.org/~beej/moria/

--- NEW FILE: moria.patch ---
diff -Naur umoria/source/config.h umoria-patched/source/config.h
--- umoria/source/config.h      Thu Jul 21 21:47:13 1994
+++ umoria-patched/source/config.h      Sun Jan 23 17:59:29 2005
@@ -14,7 +14,7 @@
 
 /* Person to bother if something goes wrong.  */
 /* Recompile files.c and misc2.c if this changes.  */
-#define WIZARD "David Grabiner"
+#define WIZARD "James Gibbs <[EMAIL PROTECTED]>"
 /* The wizard password and wizard uid are no longer used.  */
 
 
@@ -38,7 +38,8 @@
    moria will be linked with -lbsd.  */
 
 /* If you are compiling on a SYS V version of UNIX, define this.  */
-/* #define SYS_V */
+#define SYS_V
+#define unix
 
 /* If you are compiling on a SYS III version of UNIX, define this.
    The SYS_III support may not be complete.  I do not know if this works.  */
@@ -199,17 +200,32 @@
 #else
 
 /* This must be unix; change MORIA_LIB as appropriate.  */
-#define MORIA_SAV      "moria.save"
-#define MORIA_LIB(xxx)  "/home/math/grabiner/moria/files/xxx"
-#define MORIA_HOU      MORIA_LIB(hours)
-#define MORIA_MOR      MORIA_LIB(news)
-#define MORIA_TOP      MORIA_LIB(scores)
-#define MORIA_HELP     MORIA_LIB(roglcmds.hlp)
-#define MORIA_ORIG_HELP        MORIA_LIB(origcmds.hlp)
-#define MORIA_WIZ_HELP MORIA_LIB(rwizcmds.hlp)
-#define MORIA_OWIZ_HELP        MORIA_LIB(owizcmds.hlp)
-#define MORIA_WELCOME  MORIA_LIB(welcome.hlp)
-#define MORIA_VER      MORIA_LIB(version.hlp)
+/* 
+#define MORIA_SAV       "moria.save"
+#define MORIA_LIB(xxx)  /home/math/grabiner/moria/files/xxx
+#define MORIA_HOU       MORIA_LIB(hours)
+#define MORIA_MOR       MORIA_LIB(news)
+#define MORIA_TOP       MORIA_LIB(scores)
+#define MORIA_HELP      MORIA_LIB(roglcmds.hlp)
+#define MORIA_ORIG_HELP MORIA_LIB(origcmds.hlp)
+#define MORIA_WIZ_HELP  MORIA_LIB(rwizcmds.hlp)
+#define MORIA_OWIZ_HELP MORIA_LIB(owizcmds.hlp)
+#define MORIA_WELCOME   MORIA_LIB(welcome.hlp)
+#define MORIA_VER       MORIA_LIB(version.hlp)
+*/ 
+
+/* This must be unix; change MORIA_LIB as appropriate.  */
+#define MORIA_SAV       "moria.save"
+#define MORIA_LIB(xxx)  "/sw/var/games/moria/files/xxx"
+#define MORIA_HOU       "/sw/var/games/moria/files/hours"
+#define MORIA_MOR       "/sw/var/games/moria/files/news"
+#define MORIA_TOP       "/sw/var/games/moria/files/scores"
+#define MORIA_HELP      "/sw/var/games/moria/files/roglcmds.hlp"
+#define MORIA_ORIG_HELP "/sw/var/games/moria/files/origcmds.hlp"
+#define MORIA_WIZ_HELP  "/sw/var/games/moria/files/rwizcmds.hlp"
+#define MORIA_OWIZ_HELP "/sw/var/games/moria/files/owizcmds.hlp"
+#define MORIA_WELCOME   "/sw/var/games/moria/files/welcome.hlp"
+#define MORIA_VER       "/sw/var/games/moria/files/version.hlp"
 
 #endif
 #endif
diff -Naur umoria/source/io.c umoria-patched/source/io.c
--- umoria/source/io.c  Thu Jul 21 21:47:26 1994
+++ umoria-patched/source/io.c  Sat Jan 22 10:27:35 2005
@@ -6,6 +6,11 @@
    not for profit purposes provided that this copyright and statement are
    included in all such copies. */
 
+#define termio termios
+#define TCGETA TIOCGETA
+#define TCSETA TIOCSETA
+
+#include <termios.h>
 #include <stdio.h>
 #ifndef STDIO_LOADED
 #define STDIO_LOADED




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to