aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-07-05 11:05:59 +0800
committercpiazza <cpiazza@FreeBSD.org>1999-07-05 11:05:59 +0800
commit099cd8be3c140879ce7983eea306f7e0076f8b0a (patch)
tree25fd9a3d960dae1661233027da03a94b2e2ae03d /games
parent77a6e1894f047952ca669eccc2cd42aae5fad49c (diff)
downloadfreebsd-ports-gnome-099cd8be3c140879ce7983eea306f7e0076f8b0a.tar.gz
freebsd-ports-gnome-099cd8be3c140879ce7983eea306f7e0076f8b0a.tar.zst
freebsd-ports-gnome-099cd8be3c140879ce7983eea306f7e0076f8b0a.zip
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')
-rw-r--r--games/omega/Makefile41
-rw-r--r--games/omega/distinfo1
-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
-rw-r--r--games/omega/pkg-comment1
-rw-r--r--games/omega/pkg-descr20
-rw-r--r--games/omega/pkg-plist65
12 files changed, 272 insertions, 0 deletions
diff --git a/games/omega/Makefile b/games/omega/Makefile
new file mode 100644
index 000000000000..260101f1ef27
--- /dev/null
+++ b/games/omega/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: omega
+# Version required: 0.90.4
+# Date created: 14 May 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= omega-0.90-pa4
+PKGNAME= omega-0.90.4
+CATEGORIES= games
+MASTER_SITES= http://dolphin.openprojects.net/Omega/Downloads/Prealphas/
+
+MAINTAINER= andy@icc.surw.chel.su
+
+ALL_TARGET=
+WRKSRC= ${WRKDIR}/omega
+MAN6= omega.6
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/omega ${PREFIX}/bin
+ @ ${INSTALL_MAN} ${WRKSRC}/docs/omega.6 ${PREFIX}/man/man6
+ @ chown games:games ${PREFIX}/bin/omega
+ @ chmod 4711 ${PREFIX}/bin/omega
+ @ ${MKDIR} ${PREFIX}/share/omega
+ @ ${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/share/omega
+ @ ${RM} ${PREFIX}/share/omega/license.old
+ @ chmod 0600 ${PREFIX}/share/omega/omega.hi
+ @ chmod 0600 ${PREFIX}/share/omega/omega.log
+ @ ${CP} ${PREFIX}/share/omega/omega.hi ${PREFIX}/share/omega/omegahi.bak
+ @ chown -R games:games ${PREFIX}/share/omega
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @ ${MKDIR} ${PREFIX}/share/doc/omega
+.for file in buglist.txt docs/compile.all docs/readme.1st docs/omega.txt docs/readme3 docs/readme4
+ @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/omega
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/omega/distinfo b/games/omega/distinfo
new file mode 100644
index 000000000000..d48861a1deb5
--- /dev/null
+++ b/games/omega/distinfo
@@ -0,0 +1 @@
+MD5 (omega-0.90-pa4.tar.gz) = 4936ed6f4afced6c35a0097fff9430ac
diff --git a/games/omega/files/patch-aa b/games/omega/files/patch-aa
new file mode 100644
index 000000000000..424d092c9b45
--- /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 000000000000..70b35e8b7107
--- /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 000000000000..8a4c6eeaaba7
--- /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 000000000000..9f72800c16b9
--- /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 000000000000..d3195813a630
--- /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 000000000000..932cae631cd6
--- /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 000000000000..760268503afc
--- /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
diff --git a/games/omega/pkg-comment b/games/omega/pkg-comment
new file mode 100644
index 000000000000..c6e7a9b81225
--- /dev/null
+++ b/games/omega/pkg-comment
@@ -0,0 +1 @@
+A complex rogue-style game of dungeon exploration
diff --git a/games/omega/pkg-descr b/games/omega/pkg-descr
new file mode 100644
index 000000000000..6a50bf7bdb83
--- /dev/null
+++ b/games/omega/pkg-descr
@@ -0,0 +1,20 @@
+omega is a complex rogue-style game of dungeon exploration. Unlike
+other such games, there are a number of ways to "win", depending on
+various actions taken during play. The ways you can get your name on
+the hiscore board include becoming the highest ranked head of a guild,
+sect, college, etc., as well as gaining the most points figured from
+possessions and experience. The game (via the oracle) may impose some
+structure on your exploration, but you need not follow all of the
+oracle's advice. There *is* a "total winner" status, by the way.
+
+omega offers a richness of playing detail that goes beyond a simple
+game like rogue. However, the majority of gameplay is very similar to
+rogue, hack, ultrarogue, larn, and other such games. The player is
+represented by the highlighted "@" symbol, objects and terrain
+features are represented by non-alphabetic symbols, monsters are
+represented by the various upper and lower case letters, and other
+humans are represented by a non-highlighted "@". It is recommended
+that the novice read the man pages for rogue or some other such game
+and perhaps play a few games before playing omega.
+
+WWW: http://dolphin.openprojects.net/Omega/
diff --git a/games/omega/pkg-plist b/games/omega/pkg-plist
new file mode 100644
index 000000000000..7e8fe9644075
--- /dev/null
+++ b/games/omega/pkg-plist
@@ -0,0 +1,65 @@
+@owner games
+@group games
+@mode 4711
+bin/omega
+@mode 666
+share/omega/omega.hi
+share/omega/omega.log
+@mode 600
+share/omega/omegahi.bak
+@mode
+share/doc/omega/buglist.txt
+share/doc/omega/compile.all
+share/doc/omega/omega.txt
+share/doc/omega/readme.1st
+share/doc/omega/readme3
+share/doc/omega/readme4
+share/omega/abyss.dat
+share/omega/abyss.txt
+share/omega/arena.dat
+share/omega/circle.dat
+share/omega/city.dat
+share/omega/country.dat
+share/omega/court.dat
+share/omega/dlair.dat
+share/omega/help1.txt
+share/omega/help10.txt
+share/omega/help11.txt
+share/omega/help12.txt
+share/omega/help13.txt
+share/omega/help2.txt
+share/omega/help3.txt
+share/omega/help4.txt
+share/omega/help5.txt
+share/omega/help6.txt
+share/omega/help7.txt
+share/omega/help8.txt
+share/omega/help9.txt
+share/omega/home1.dat
+share/omega/home2.dat
+share/omega/home3.dat
+share/omega/intro.txt
+share/omega/lgpl.txt
+share/omega/license.txt
+share/omega/maze1.dat
+share/omega/maze2.dat
+share/omega/maze3.dat
+share/omega/maze4.dat
+share/omega/misle.dat
+share/omega/motd.txt
+share/omega/scroll1.txt
+share/omega/scroll2.txt
+share/omega/scroll3.txt
+share/omega/scroll4.txt
+share/omega/speak.dat
+share/omega/temple.dat
+share/omega/thanks.txt
+share/omega/update.txt
+share/omega/village1.dat
+share/omega/village2.dat
+share/omega/village3.dat
+share/omega/village4.dat
+share/omega/village5.dat
+share/omega/village6.dat
+@dirrm share/doc/omega
+@dirrm share/omega