summaryrefslogtreecommitdiff
path: root/games/omega
diff options
context:
space:
mode:
authorproff <proff@pkgsrc.org>1999-12-28 02:11:30 +0000
committerproff <proff@pkgsrc.org>1999-12-28 02:11:30 +0000
commitff7c0eb6123f7058cc2402aa7299c3416a2c46a8 (patch)
tree289989d378a341f8e50056e971d46af4fabacdfa /games/omega
parentbd64283d89baeeb16490417ce760e98710b0e674 (diff)
downloadpkgsrc-ff7c0eb6123f7058cc2402aa7299c3416a2c46a8.tar.gz
omega, a rouge like games, from freebsd
Diffstat (limited to 'games/omega')
-rw-r--r--games/omega/Makefile41
-rw-r--r--games/omega/files/md51
-rw-r--r--games/omega/patches/patch-aa49
-rw-r--r--games/omega/patches/patch-ab24
-rw-r--r--games/omega/patches/patch-ac15
-rw-r--r--games/omega/patches/patch-ad12
-rw-r--r--games/omega/patches/patch-ae14
-rw-r--r--games/omega/patches/patch-af15
-rw-r--r--games/omega/patches/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 00000000000..16777c4eb1d
--- /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
+#
+# $FreeBSD: ports/games/omega/Makefile,v 1.3 1999/08/25 06:04:09 obrien Exp $
+#
+
+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/files/md5 b/games/omega/files/md5
new file mode 100644
index 00000000000..d48861a1deb
--- /dev/null
+++ b/games/omega/files/md5
@@ -0,0 +1 @@
+MD5 (omega-0.90-pa4.tar.gz) = 4936ed6f4afced6c35a0097fff9430ac
diff --git a/games/omega/patches/patch-aa b/games/omega/patches/patch-aa
new file mode 100644
index 00000000000..424d092c9b4
--- /dev/null
+++ b/games/omega/patches/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/patches/patch-ab b/games/omega/patches/patch-ab
new file mode 100644
index 00000000000..70b35e8b710
--- /dev/null
+++ b/games/omega/patches/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/patches/patch-ac b/games/omega/patches/patch-ac
new file mode 100644
index 00000000000..8a4c6eeaaba
--- /dev/null
+++ b/games/omega/patches/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/patches/patch-ad b/games/omega/patches/patch-ad
new file mode 100644
index 00000000000..9f72800c16b
--- /dev/null
+++ b/games/omega/patches/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/patches/patch-ae b/games/omega/patches/patch-ae
new file mode 100644
index 00000000000..d3195813a63
--- /dev/null
+++ b/games/omega/patches/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/patches/patch-af b/games/omega/patches/patch-af
new file mode 100644
index 00000000000..932cae631cd
--- /dev/null
+++ b/games/omega/patches/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/patches/patch-ag b/games/omega/patches/patch-ag
new file mode 100644
index 00000000000..760268503af
--- /dev/null
+++ b/games/omega/patches/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 00000000000..c6e7a9b8122
--- /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 00000000000..6a50bf7bdb8
--- /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 00000000000..7e8fe964407
--- /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