summaryrefslogtreecommitdiffstats
path: root/games/omega/files
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-07-05 03:05:59 +0000
committercpiazza <cpiazza@FreeBSD.org>1999-07-05 03:05:59 +0000
commit099cd8be3c140879ce7983eea306f7e0076f8b0a (patch)
tree25fd9a3d960dae1661233027da03a94b2e2ae03d /games/omega/files
parent77a6e1894f047952ca669eccc2cd42aae5fad49c (diff)
downloadFreeBSD-ports-099cd8be3c140879ce7983eea306f7e0076f8b0a.zip
FreeBSD-ports-099cd8be3c140879ce7983eea306f7e0076f8b0a.tar.gz
Omega, a complex rouge-style game of dungeon exploration.
Unlike other such games, there are a number of ways to "win" depending on various actions taken druing play. PR: 12506 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Diffstat (limited to 'games/omega/files')
-rw-r--r--games/omega/files/patch-aa49
-rw-r--r--games/omega/files/patch-ab24
-rw-r--r--games/omega/files/patch-ac15
-rw-r--r--games/omega/files/patch-ad12
-rw-r--r--games/omega/files/patch-ae14
-rw-r--r--games/omega/files/patch-af15
-rw-r--r--games/omega/files/patch-ag15
7 files changed, 144 insertions, 0 deletions
diff --git a/games/omega/files/patch-aa b/games/omega/files/patch-aa
new file mode 100644
index 0000000..424d092
--- /dev/null
+++ b/games/omega/files/patch-aa
@@ -0,0 +1,49 @@
+--- Makefile.orig Fri Jan 1 20:00:06 1999
++++ Makefile Mon Jul 5 19:51:50 1999
+@@ -1,14 +1,14 @@
+ # These two definitions are used if you 'make install'
+ # the value of LIBDIR should be the same as OMEGALIB in defs.h
+-BINDIR = /home/sdossey/omega/
+-LIBDIR = /home/sdossey/omega/lib/
++BINDIR = ${PREFIX}/bin
++LIBDIR = ${PREFIX}/share/omega
+
+ # One of these should be uncommented, as appropriate, unless your compiler
+ # does it for you. You can test this by simply trying to 'make' omega -
+ # it will fail if none of them are defined. If you do uncomment
+ # one, make sure you comment out the other definition of CFLAGS lower down
+
+-CFLAGS = -DBSD -ggdb
++CFLAGS+= -DBSD -DOMEGALIB=\"${LIBDIR}/\"
+ #CFLAGS = -DSYSV -O
+ # I also had to define -cckr (K&R style C) for system V
+ #CFLAGS = -DMSDOS -O
+@@ -17,14 +17,14 @@
+ # CPP should contain the command to run the C preprocessor.
+ #CPP = cc -E
+ #CPP = /lib/cpp
+-CPP = gcc -E
++CPP = ${CC} -E
+
+ # If you have gcc and don't intend to hack around with the game,
+ # I recommend setting CC to gcc and using -O (as the CFLAGS).
+
+ #CFLAGS = -O
+ #LDFLAGS = -s
+-CC = gcc
++#CC = gcc
+
+ # comment out one of the following two, after establishing whether your
+ # machine uses termcap (most BSD machines) or terminfo (System-V)
+@@ -48,7 +48,10 @@
+ omega: $(OBJ)
+ $(CC) $(LDFLAGS) $(OBJ) $(LIBS) -o omega
+
+-install: omega $(BINDIR) $(LIBDIR)
++install: omega
++ mkdir -p $(BINDIR)
++ mkdir -p $(LIBDIR)
++ chown games:games omega
+ cp omega $(BINDIR)
+ chmod 4711 $(BINDIR)/omega
+ - cp lib/* $(LIBDIR)
diff --git a/games/omega/files/patch-ab b/games/omega/files/patch-ab
new file mode 100644
index 0000000..70b35e8
--- /dev/null
+++ b/games/omega/files/patch-ab
@@ -0,0 +1,24 @@
+--- defs.h Fri Jan 1 03:08:19 1999
++++ /home/andy/tmp/wrk/defs.h Fri May 14 20:51:11 1999
+@@ -45,7 +45,9 @@
+ This might usually be "/usr/games/lib/omegalib/", for unix,
+ or something like "c:\\games\\omega\\omegalib\\" for msdos */
+
++#ifndef OMEGALIB
+ #define OMEGALIB "./lib/"
++#endif
+
+ /* Comment the following line out if you want users to be able to override */
+ /* the OMEGALIB define, above, by setting the environment variable OMEGALIB */
+@@ -570,7 +572,11 @@
+ /* WDT: thank goodness for that lack of implementation. */
+
+ #else
++#ifdef __FreeBSD__
++#include <ncurses.h>
++#else
+ #include <curses.h>
++#endif
+
+ #define COL_FG_BLINK A_BLINK
+
diff --git a/games/omega/files/patch-ac b/games/omega/files/patch-ac
new file mode 100644
index 0000000..8a4c6ee
--- /dev/null
+++ b/games/omega/files/patch-ac
@@ -0,0 +1,15 @@
+--- file.c Fri Jan 1 03:08:26 1999
++++ /home/andy/tmp/wrk/file.c Fri May 14 20:28:46 1999
+@@ -9,7 +9,11 @@
+ # ifdef AMIGA
+ # include <curses210.h>
+ # else
+-# include <curses.h>
++# ifdef __FreeBSD__
++# include <ncurses.h>
++# else
++# include <curses.h>
++# endif
+ # endif
+ # include <sys/types.h>
+ # include <unistd.h>
diff --git a/games/omega/files/patch-ad b/games/omega/files/patch-ad
new file mode 100644
index 0000000..9f72800
--- /dev/null
+++ b/games/omega/files/patch-ad
@@ -0,0 +1,12 @@
+--- fixstr.c Sat Aug 8 13:48:23 1998
++++ /home/andy/tmp/wrk/fixstr.c Fri May 14 20:37:59 1999
+@@ -15,7 +15,9 @@
+ Thus it can be broken. */
+
+ #include <stdio.h>
++#ifndef __FreeBSD__
+ #include <malloc.h>
++#endif
+
+ #define TMPFILE "fixtmp.c"
+
diff --git a/games/omega/files/patch-ae b/games/omega/files/patch-ae
new file mode 100644
index 0000000..d319581
--- /dev/null
+++ b/games/omega/files/patch-ae
@@ -0,0 +1,14 @@
+--- genclr.c Sat Aug 8 16:53:59 1998
++++ /home/andy/tmp/wrk/genclr.c Fri May 14 20:28:35 1999
+@@ -281,7 +281,11 @@
+ */
+ fp = emitopen (cfile, argv);
+ fprintf (fp, "\
++#ifdef __FreeBSD__\n\
++#include <ncurses.h>\n\
++#else\n\
+ #include <curses.h>\n\
++#endif\n\
+ #include <stdio.h>\n\
+ #include <stdlib.h>\n\
+
diff --git a/games/omega/files/patch-af b/games/omega/files/patch-af
new file mode 100644
index 0000000..932cae6
--- /dev/null
+++ b/games/omega/files/patch-af
@@ -0,0 +1,15 @@
+--- inv.c Fri Jan 1 03:08:33 1999
++++ /home/andy/tmp/wrk/inv.c Fri May 14 20:28:52 1999
+@@ -8,7 +8,11 @@
+ # ifdef AMIGA
+ # include <curses210.h>
+ # else
+-# include <curses.h>
++# ifdef __FreeBSD__
++# include <ncurses.h>
++# else
++# include <curses.h>
++# endif
+ # endif
+ #endif
+
diff --git a/games/omega/files/patch-ag b/games/omega/files/patch-ag
new file mode 100644
index 0000000..7602685
--- /dev/null
+++ b/games/omega/files/patch-ag
@@ -0,0 +1,15 @@
+--- scr.c Sat Jan 2 07:00:11 1999
++++ /home/andy/tmp/wrk/scr.c Fri May 14 20:28:59 1999
+@@ -10,7 +10,11 @@
+ # ifdef AMIGA
+ # include <curses210.h>
+ # else
+-# include <curses.h>
++# ifdef __FreeBSD__
++# include <ncurses.h>
++# else
++# include <curses.h>
++# endif
+ # endif
+ # include <sys/types.h>
+ #endif
OpenPOWER on IntegriCloud