2001-07-28 13:05:01 -04:00
|
|
|
$OpenBSD: patch-Makefile,v 1.2 2001/07/28 17:05:01 lebel Exp $
|
initial import of omega-0.90.4:
--
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://www.alcyone.com/max/projects/omega/
2001-07-28 12:31:47 -04:00
|
|
|
--- Makefile.orig Fri Jul 27 21:32:18 2001
|
|
|
|
+++ Makefile Fri Jul 27 21:32:31 2001
|
|
|
|
@@ -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 = ${TRUEPREFIX}/bin
|
|
|
|
+LIBDIR = ${TRUEPREFIX}/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,21 +17,21 @@ CFLAGS = -DBSD -ggdb
|
|
|
|
# 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)
|
|
|
|
#LIBS = -lcurses -ltermcap
|
|
|
|
#LIBS = -lcurses -ltermlib
|
|
|
|
# Linux links in term?? automatically.
|
|
|
|
-LIBS = -lncurses
|
|
|
|
+LIBS = -lcurses -ltermcap
|
|
|
|
|
|
|
|
#################### that's it for changing the Makefile ####################
|
|
|
|
|
|
|
|
@@ -48,14 +48,16 @@ OBJ = omega.o abyss.o aux1.o aux2.o aux3
|
|
|
|
omega: $(OBJ)
|
|
|
|
$(CC) $(LDFLAGS) $(OBJ) $(LIBS) -o omega
|
|
|
|
|
|
|
|
-install: omega $(BINDIR) $(LIBDIR)
|
|
|
|
- cp omega $(BINDIR)
|
|
|
|
- chmod 4711 $(BINDIR)/omega
|
|
|
|
- - cp lib/* $(LIBDIR)
|
|
|
|
- chmod 0644 $(LIBDIR)/help*.txt $(LIBDIR)/license.txt $(LIBDIR)/motd.txt $(LIBDIR)/thanks.txt $(LIBDIR)/update.txt
|
|
|
|
- chmod 0600 $(LIBDIR)/abyss.txt $(LIBDIR)/scroll[1234].txt $(LIBDIR)/*.dat
|
|
|
|
- chmod 0600 $(LIBDIR)/omega.hi $(LIBDIR)/omega.log $(LIBDIR)/omegahi.bak
|
|
|
|
-
|
|
|
|
+install: omega
|
|
|
|
+ mkdir -p $(DESTDIR)$(LIBDIR)
|
2001-07-28 13:05:01 -04:00
|
|
|
+ cp omega $(DESTDIR)$(BINDIR)/Omega
|
|
|
|
+ chown root:games $(DESTDIR)$(BINDIR)/Omega
|
|
|
|
+ chmod 711 $(DESTDIR)$(BINDIR)/Omega; chmod g+s $(DESTDIR)$(BINDIR)/Omega
|
initial import of omega-0.90.4:
--
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://www.alcyone.com/max/projects/omega/
2001-07-28 12:31:47 -04:00
|
|
|
+ cp lib/* $(DESTDIR)$(LIBDIR); chown -R root:games $(DESTDIR)$(LIBDIR)
|
|
|
|
+ chmod 0644 $(DESTDIR)$(LIBDIR)/help*.txt $(DESTDIR)$(LIBDIR)/license.txt $(DESTDIR)$(LIBDIR)/motd.txt $(DESTDIR)$(LIBDIR)/thanks.txt $(DESTDIR)$(LIBDIR)/update.txt
|
|
|
|
+ chmod 0660 $(DESTDIR)$(LIBDIR)/abyss.txt $(DESTDIR)$(LIBDIR)/scroll[1234].txt $(DESTDIR)$(LIBDIR)/*.dat
|
|
|
|
+ chmod 0660 $(DESTDIR)$(LIBDIR)/omega.hi $(DESTDIR)$(LIBDIR)/omega.log
|
|
|
|
+
|
|
|
|
install_not_suid: omega $(BINDIR) $(LIBDIR)
|
|
|
|
cp omega $(BINDIR)
|
|
|
|
chmod 0711 $(BINDIR)/omega
|