From b93ac80c2308a0bc46dcb4c4c3df7845fc621a15 Mon Sep 17 00:00:00 2001 From: proff Date: Tue, 28 Dec 1999 02:28:23 +0000 Subject: Changes for NetBSD. 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, unlike lesser games is incredibly amusing to play. Laurence P. Brothers (the primary author) is the Oscar Wilde of rouge-like games. Many omega concepts, but not great sense of humor were later stolen for use in ADOM. --- games/omega/Makefile | 28 ++++++++++++++-------------- games/omega/files/md5 | 2 ++ games/omega/files/patch-sum | 9 +++++++++ games/omega/patches/patch-aa | 4 +++- games/omega/patches/patch-ab | 4 +++- games/omega/patches/patch-ac | 4 +++- games/omega/patches/patch-ad | 4 +++- games/omega/patches/patch-ae | 4 +++- games/omega/patches/patch-af | 4 +++- games/omega/patches/patch-ag | 4 +++- games/omega/pkg/COMMENT | 2 +- games/omega/pkg/DESCR | 15 +++++++++------ games/omega/pkg/PLIST | 1 + 13 files changed, 57 insertions(+), 28 deletions(-) create mode 100644 games/omega/files/patch-sum (limited to 'games/omega') diff --git a/games/omega/Makefile b/games/omega/Makefile index 16777c4eb1d..5398fff6ff1 100644 --- a/games/omega/Makefile +++ b/games/omega/Makefile @@ -1,26 +1,28 @@ -# 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 $ -# +# $NetBSD: Makefile,v 1.2 1999/12/28 02:28:23 proff Exp $ +# FreeBSD Id: 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/ +#MASTER_SITES= http://dolphin.openprojects.net/Omega/Downloads/Prealphas/ +MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/proff/ -MAINTAINER= andy@icc.surw.chel.su +DEPENDS+= ncurses-4.2:../../devel/ncurses + +MAINTAINER= packages@netbsd.org +#HOMEPAGE= http://dolphin.openprojects.net/Omega/ +HOMEPAGE= http://www.win.tue.nl/games/roguelike/omega ALL_TARGET= WRKSRC= ${WRKDIR}/omega -MAN6= omega.6 + +#ncurses +CFLAGS+= -I${PREFIX}/include do-install: @ ${INSTALL_PROGRAM} ${WRKSRC}/omega ${PREFIX}/bin @ ${INSTALL_MAN} ${WRKSRC}/docs/omega.6 ${PREFIX}/man/man6 - @ ${CHOWN} games:games ${PREFIX}/bin/omega + @ ${CHOWN} games.games ${PREFIX}/bin/omega @ ${CHMOD} 4711 ${PREFIX}/bin/omega @ ${MKDIR} ${PREFIX}/share/omega @ ${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/share/omega @@ -31,11 +33,9 @@ do-install: @ ${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 +.include "../../mk/bsd.pkg.mk" diff --git a/games/omega/files/md5 b/games/omega/files/md5 index d48861a1deb..8d9f3290cce 100644 --- a/games/omega/files/md5 +++ b/games/omega/files/md5 @@ -1 +1,3 @@ +$NetBSD: md5,v 1.2 1999/12/28 02:28:23 proff Exp $ + MD5 (omega-0.90-pa4.tar.gz) = 4936ed6f4afced6c35a0097fff9430ac diff --git a/games/omega/files/patch-sum b/games/omega/files/patch-sum new file mode 100644 index 00000000000..a2994d70d2a --- /dev/null +++ b/games/omega/files/patch-sum @@ -0,0 +1,9 @@ +$NetBSD: patch-sum,v 1.1 1999/12/28 02:28:23 proff Exp $ + +MD5 (patch-aa) = dd312f9677b9a09889d184d8d848250d +MD5 (patch-ab) = cae0f773bb170e1a3ccba1e20b77f7b8 +MD5 (patch-ac) = 26bbceae7e9646033f3212c286b7dbbe +MD5 (patch-ad) = f68d6e43c9c67e730962cdeaf3a01687 +MD5 (patch-ae) = f4d098a124dd0a73cc01c8f3f4b86e29 +MD5 (patch-af) = 9d5993c69d5dfcf63a77c2d064caaa38 +MD5 (patch-ag) = b34a3b897a5dcdcc67c3e824b3f71454 diff --git a/games/omega/patches/patch-aa b/games/omega/patches/patch-aa index 424d092c9b4..2cbce25f7e4 100644 --- a/games/omega/patches/patch-aa +++ b/games/omega/patches/patch-aa @@ -1,3 +1,5 @@ +$NetBSD: patch-aa,v 1.2 1999/12/28 02:28:23 proff Exp $ + --- Makefile.orig Fri Jan 1 20:00:06 1999 +++ Makefile Mon Jul 5 19:51:50 1999 @@ -1,14 +1,14 @@ @@ -23,7 +25,7 @@ #CPP = cc -E #CPP = /lib/cpp -CPP = gcc -E -+CPP = ${CC} -E ++CPP = ${CC} -E ${CFLAGS} # 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). diff --git a/games/omega/patches/patch-ab b/games/omega/patches/patch-ab index 70b35e8b710..e7271302153 100644 --- a/games/omega/patches/patch-ab +++ b/games/omega/patches/patch-ab @@ -1,3 +1,5 @@ +$NetBSD: patch-ab,v 1.2 1999/12/28 02:28:23 proff Exp $ + --- 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 @@ @@ -14,7 +16,7 @@ /* WDT: thank goodness for that lack of implementation. */ #else -+#ifdef __FreeBSD__ ++#if defined(__NetBSD__) || defined (__FreeBSD__) +#include +#else #include diff --git a/games/omega/patches/patch-ac b/games/omega/patches/patch-ac index 8a4c6eeaaba..36340d3c11e 100644 --- a/games/omega/patches/patch-ac +++ b/games/omega/patches/patch-ac @@ -1,3 +1,5 @@ +$NetBSD: patch-ac,v 1.2 1999/12/28 02:28:23 proff Exp $ + --- 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 @@ @@ -5,7 +7,7 @@ # include # else -# include -+# ifdef __FreeBSD__ ++# if defined(__NetBSD__) || defined(__FreeBSD__) +# include +# else +# include diff --git a/games/omega/patches/patch-ad b/games/omega/patches/patch-ad index 9f72800c16b..0725fdc19ea 100644 --- a/games/omega/patches/patch-ad +++ b/games/omega/patches/patch-ad @@ -1,10 +1,12 @@ +$NetBSD: patch-ad,v 1.2 1999/12/28 02:28:23 proff Exp $ + --- 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 -+#ifndef __FreeBSD__ ++#if defined(__NetBSD__) || defined(__FreeBSD__) #include +#endif diff --git a/games/omega/patches/patch-ae b/games/omega/patches/patch-ae index d3195813a63..2356d81d4e1 100644 --- a/games/omega/patches/patch-ae +++ b/games/omega/patches/patch-ae @@ -1,10 +1,12 @@ +$NetBSD: patch-ae,v 1.2 1999/12/28 02:28:23 proff Exp $ + --- 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\ ++#if defined(__NetBSD__) || defined(__FreeBSD__)\n\ +#include \n\ +#else\n\ #include \n\ diff --git a/games/omega/patches/patch-af b/games/omega/patches/patch-af index 932cae631cd..a1044858ec3 100644 --- a/games/omega/patches/patch-af +++ b/games/omega/patches/patch-af @@ -1,3 +1,5 @@ +$NetBSD: patch-af,v 1.2 1999/12/28 02:28:23 proff Exp $ + --- 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 @@ @@ -5,7 +7,7 @@ # include # else -# include -+# ifdef __FreeBSD__ ++# if defined(__NetBSD__) || defined(__FreeBSD__) +# include +# else +# include diff --git a/games/omega/patches/patch-ag b/games/omega/patches/patch-ag index 760268503af..f9aa19b94dc 100644 --- a/games/omega/patches/patch-ag +++ b/games/omega/patches/patch-ag @@ -1,3 +1,5 @@ +$NetBSD: patch-ag,v 1.2 1999/12/28 02:28:23 proff Exp $ + --- 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 @@ @@ -5,7 +7,7 @@ # include # else -# include -+# ifdef __FreeBSD__ ++# if defined(__NetBSD__) || defined(__FreeBSD__) +# include +# else +# include diff --git a/games/omega/pkg/COMMENT b/games/omega/pkg/COMMENT index c6e7a9b8122..9f651553302 100644 --- a/games/omega/pkg/COMMENT +++ b/games/omega/pkg/COMMENT @@ -1 +1 @@ -A complex rogue-style game of dungeon exploration +A complex rogue-like game of exploration with a sense of humor diff --git a/games/omega/pkg/DESCR b/games/omega/pkg/DESCR index 6a50bf7bdb8..0eaad1fd315 100644 --- a/games/omega/pkg/DESCR +++ b/games/omega/pkg/DESCR @@ -1,4 +1,4 @@ -omega is a complex rogue-style game of dungeon exploration. Unlike +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, @@ -7,14 +7,17 @@ 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 +Omega, unlike lesser games is incredibly amusing to play. Laurence P. +Brothers (the primary author) is the Oscar Wilde of rouge-like games. +Many omega concepts, but not great sense of humor were later stolen +for use in ADOM. + +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. +humans are represented by a non-highlighted "@". -WWW: http://dolphin.openprojects.net/Omega/ +-Julian Assange diff --git a/games/omega/pkg/PLIST b/games/omega/pkg/PLIST index 7e8fe964407..5be606bd9c4 100644 --- a/games/omega/pkg/PLIST +++ b/games/omega/pkg/PLIST @@ -1,3 +1,4 @@ +@comment $NetBSD: PLIST,v 1.2 1999/12/28 02:28:23 proff Exp $ @owner games @group games @mode 4711 -- cgit v1.2.3