diff options
author | pav <pav@FreeBSD.org> | 2006-05-26 14:17:07 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-05-26 14:17:07 +0000 |
commit | 078d2ce427291a8fdbae0a1960398adf11c0b23b (patch) | |
tree | b7d631d71cc523d8196e926dc56d09814ccbc5dc /games/vultures-eye/files | |
parent | cc3929bcd387874b723fb8e3a929910fd95878db (diff) | |
download | FreeBSD-ports-078d2ce427291a8fdbae0a1960398adf11c0b23b.zip FreeBSD-ports-078d2ce427291a8fdbae0a1960398adf11c0b23b.tar.gz |
Vulture's Eye is a nice graphical interface for NetHack 3.4.3. It is
forked from Falcon's Eye, one of the nicest graphical interfaces ever
for NetHack.
WWW: http://www.darkarts.co.za/projects/vultures/
PR: ports/97886
Submitted by: Li-Lun Wang (Leland Wang) <llwang@infor.org>
Diffstat (limited to 'games/vultures-eye/files')
7 files changed, 210 insertions, 0 deletions
diff --git a/games/vultures-eye/files/patch-include-unixconf.h b/games/vultures-eye/files/patch-include-unixconf.h new file mode 100644 index 0000000..e364b7a --- /dev/null +++ b/games/vultures-eye/files/patch-include-unixconf.h @@ -0,0 +1,18 @@ +--- include/unixconf.h.orig Thu Apr 6 02:59:04 2006 ++++ include/unixconf.h Thu May 25 00:15:21 2006 +@@ -19,13 +19,13 @@ + */ + + /* define exactly one of the following four choices */ +-/* #define BSD 1 */ /* define for 4.n/Free/Open/Net BSD */ ++#define BSD 1 /* define for 4.n/Free/Open/Net BSD */ + /* also for relatives like SunOS 4.x, DG/UX, and */ + /* older versions of Linux */ + /* #define ULTRIX */ /* define for Ultrix v3.0 or higher (but not lower) */ + /* Use BSD for < v3.0 */ + /* "ULTRIX" not to be confused with "ultrix" */ +-#define SYSV /* define for System V, Solaris 2.x, newer versions */ ++/* #define SYSV */ /* define for System V, Solaris 2.x, newer versions */ + /* of Linux */ + /* #define HPUX */ /* Hewlett-Packard's Unix, version 6.5 or higher */ + /* use SYSV for < v6.5 */ diff --git a/games/vultures-eye/files/patch-sys-unix-Makefile.dat b/games/vultures-eye/files/patch-sys-unix-Makefile.dat new file mode 100644 index 0000000..a5d825c --- /dev/null +++ b/games/vultures-eye/files/patch-sys-unix-Makefile.dat @@ -0,0 +1,44 @@ +--- sys/unix/Makefile.dat.orig Thu Apr 6 02:59:04 2006 ++++ sys/unix/Makefile.dat Thu May 25 00:36:50 2006 +@@ -10,22 +10,22 @@ + all: $(VARDAT) spec_levs quest_levs dungeon + + ../util/makedefs: +- (cd ../util ; make makedefs) ++ (cd ../util ; ${MAKE} makedefs) + + ../util/dgn_comp: +- (cd ../util ; make dgn_comp) ++ (cd ../util ; ${MAKE} dgn_comp) + + ../util/lev_comp: +- (cd ../util ; make lev_comp) ++ (cd ../util ; ${MAKE} lev_comp) + + ../util/tile2x11: +- (cd ../util ; make tile2x11) ++ (cd ../util ; ${MAKE} tile2x11) + + ../util/tile2beos: +- (cd ../util ; make tile2beos) ++ (cd ../util ; ${MAKE} tile2beos) + + ../util/tile2bmp: +- (cd ../util ; make tile2bmp) ++ (cd ../util ; ${MAKE} tile2bmp) + + x11tiles: ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \ + ../win/share/other.txt +@@ -63,10 +63,10 @@ + cp ../win/Qt/Info.pli Info.plist + + ../util/tile2img.ttp: +- (cd ../util ; make tile2img.ttp) ++ (cd ../util ; ${MAKE} tile2img.ttp) + + ../util/xpm2img.ttp: +- (cd ../util ; make xpm2img.ttp) ++ (cd ../util ; ${MAKE} xpm2img.ttp) + nh16.img: ../util/tile2img.ttp ../win/share/monsters.txt \ + ../win/share/objects.txt ../win/share/other.txt + ../util/tile2img.ttp nh16.img diff --git a/games/vultures-eye/files/patch-sys-unix-Makefile.doc b/games/vultures-eye/files/patch-sys-unix-Makefile.doc new file mode 100644 index 0000000..8126e7c --- /dev/null +++ b/games/vultures-eye/files/patch-sys-unix-Makefile.doc @@ -0,0 +1,41 @@ +--- sys/unix/Makefile.doc.orig Thu Apr 6 02:59:04 2006 ++++ sys/unix/Makefile.doc Thu May 25 01:03:44 2006 +@@ -41,15 +41,15 @@ + + + GAME = vultureseye +-MANDIR = /usr/man/man6 ++MANDIR = ${PREFIX}/man/man + MANEXT = 6 + + # manual installation for most BSD-style systems +-GAMEMANCREATE = cp nethack.6 +-LEVMANCREATE = cp lev_comp.6 +-DGNMANCREATE = cp dgn_comp.6 +-RCVRMANCREATE = cp recover.6 +-DLBMANCREATE = cp dlb.6 ++GAMEMANCREATE = ${BSD_INSTALL_MAN} nethack.6 ++#LEVMANCREATE = cp lev_comp.6 ++#DGNMANCREATE = cp dgn_comp.6 ++#RCVRMANCREATE = cp recover.6 ++#DLBMANCREATE = cp dlb.6 + # manual installation for most SYSV-style systems + # GAMEMANCREATE = nroff -man nethack.6 > + # LEVMANCREATE = nroff -man lev_comp.6 > +@@ -58,11 +58,11 @@ + # DLBMANCREATE = nroff -man dlb.6 > + + manpages: +- -$(GAMEMANCREATE) $(MANDIR)/$(GAME).$(MANEXT) +- -$(LEVMANCREATE) $(MANDIR)/lev_comp.$(MANEXT) +- -$(DGNMANCREATE) $(MANDIR)/dgn_comp.$(MANEXT) +- -$(RCVRMANCREATE) $(MANDIR)/recover.$(MANEXT) +- -$(DLBMANCREATE) $(MANDIR)/dlb.$(MANEXT) ++ -$(GAMEMANCREATE) $(MANDIR)$(MANEXT)/$(GAME).$(MANEXT) ++# -$(LEVMANCREATE) $(MANDIR)/lev_comp.$(MANEXT) ++# -$(DGNMANCREATE) $(MANDIR)/dgn_comp.$(MANEXT) ++# -$(RCVRMANCREATE) $(MANDIR)/recover.$(MANEXT) ++# -$(DLBMANCREATE) $(MANDIR)/dlb.$(MANEXT) + + # manual creation for distribution + DISTRIB = Guidebook.txt nethack.txt lev_comp.txt dgn_comp.txt recover.txt dlb.txt diff --git a/games/vultures-eye/files/patch-sys-unix-Makefile.sys b/games/vultures-eye/files/patch-sys-unix-Makefile.sys new file mode 100644 index 0000000..b44f4af --- /dev/null +++ b/games/vultures-eye/files/patch-sys-unix-Makefile.sys @@ -0,0 +1,38 @@ +--- sys/unix/Makefile.src.orig Thu Apr 6 02:59:04 2006 ++++ sys/unix/Makefile.src Thu May 25 01:24:10 2006 +@@ -154,21 +154,21 @@ + # VULTURESCFLAGS will be passed to the sub-makefile for vultures + OS = $(shell uname -s) + ifeq ($(OS),FreeBSD) +- SDL_CONFIG = sdl11-config ++# SDL_CONFIG = sdl11-config + SDLMAIN = -lSDLmain-1.1 + else + SDL_CONFIG = sdl-config + SDLMAIN = -lSDLmain + endif +-VULTURESCFLAGS = -Wall -g +-CFLAGS = -g -I../include -I ../win/vultures $(shell $(SDL_CONFIG) --cflags) ++VULTURESCFLAGS = ${CFLAGS} ++CFLAGS += -g -I../include -I ../win/vultures $(shell $(SDL_CONFIG) --cflags) + LFLAGS = + + # The Qt and Be window systems are written in C++, while the rest of + # NetHack is standard C. If using Qt, uncomment the LINK line here to get + # the C++ libraries linked in. +-CXXFLAGS = $(CFLAGS) -I. -I$(QTDIR)/include +-CXX=g++ ++CXXFLAGS += $(CFLAGS) -I. -I$(QTDIR)/include ++CXX?=g++ + #LINK=g++ + # For cross-compiling, eg. with gcc on Linux (see also CC further up): + #CXX=arm-linux-g++ +@@ -480,7 +480,7 @@ + @rm -f $(MAKEDEFS) + + ../win/vultures/build_n/vultures.o: objects.o monst.o ../include/date.h ../win/vultures/* ../win/vultures/util/* +- @$(MAKE) -C ../win/vultures/ BUILD=nethack BASECFLAGS="$(VULTURESCFLAGS)" ++ @$(MAKE) -C ../win/vultures/ BUILD=nethack BASECFLAGS="$(VULTURESCFLAGS)" SDL_CONFIG="${SDL_CONFIG}" + + # Qt windowport meta-object-compiler output + qt_kde0.moc: ../include/qt_kde0.h diff --git a/games/vultures-eye/files/patch-sys-unix-Makefile.top b/games/vultures-eye/files/patch-sys-unix-Makefile.top new file mode 100644 index 0000000..567fb48 --- /dev/null +++ b/games/vultures-eye/files/patch-sys-unix-Makefile.top @@ -0,0 +1,38 @@ +--- sys/unix/Makefile.top.orig Thu Apr 6 02:59:04 2006 ++++ sys/unix/Makefile.top Thu May 25 00:59:53 2006 +@@ -14,18 +14,18 @@ + # MAKE = make + + # make NetHack +-PREFIX = /usr ++#PREFIX = /usr + GAME = vultureseye + # GAME = nethack.prg + GAMEUID = games +-GAMEGRP = bin ++GAMEGRP = games + + # Permissions - some places use setgid instead of setuid, for instance + # See also the option "SECURE" in include/config.h +-GAMEPERM = 04755 +-FILEPERM = 0644 ++GAMEPERM = 02755 ++FILEPERM = 0664 + EXEPERM = 0755 +-DIRPERM = 0755 ++DIRPERM = 0775 + + # GAMEDIR also appears in config.h as "HACKDIR". + # VARDIR may also appear in unixconf.h as "VAR_PLAYGROUND" else GAMEDIR +@@ -35,9 +35,9 @@ + # therefore there should not be anything in GAMEDIR that you want to keep + # (if there is, you'll have to do the installation by hand or modify the + # instructions) +-GAMEDIR = $(PREFIX)/games/lib/$(GAME)dir ++GAMEDIR = $(DATADIR) + VARDIR = $(GAMEDIR) +-SHELLDIR = $(PREFIX)/games ++SHELLDIR = $(PREFIX)/bin + + # per discussion in Install.X11 and Install.Qt + VARDATND = diff --git a/games/vultures-eye/files/patch-sys-unix-Makefile.utl b/games/vultures-eye/files/patch-sys-unix-Makefile.utl new file mode 100644 index 0000000..c80a30b --- /dev/null +++ b/games/vultures-eye/files/patch-sys-unix-Makefile.utl @@ -0,0 +1,11 @@ +--- sys/unix/Makefile.utl.orig Thu Apr 6 02:59:04 2006 ++++ sys/unix/Makefile.utl Thu May 25 01:01:38 2006 +@@ -89,7 +89,7 @@ + # flags for debugging: + # CFLAGS = -g -I../include + +-CFLAGS = -O -I../include -I../win/vultures -DVULTURESEYE ++CFLAGS += -O -I../include -I../win/vultures -DVULTURESEYE + LFLAGS = + + LIBS = diff --git a/games/vultures-eye/files/patch-win-vultures-GNUmakefile b/games/vultures-eye/files/patch-win-vultures-GNUmakefile new file mode 100644 index 0000000..04a4df2 --- /dev/null +++ b/games/vultures-eye/files/patch-win-vultures-GNUmakefile @@ -0,0 +1,20 @@ +--- win/vultures/GNUmakefile.orig Thu May 25 01:17:43 2006 ++++ win/vultures/GNUmakefile Thu May 25 01:28:16 2006 +@@ -12,7 +12,7 @@ + ifndef SDL_CONFIG + OS := $(shell uname -s) + ifeq ($(OS),FreeBSD) +- SDL_CONFIG := sdl11-config ++# SDL_CONFIG := sdl11-config + else + SDL_CONFIG := sdl-config + endif +@@ -34,7 +34,7 @@ + OUTPUT_OBJ := $(BUILDDIR)/vultures.o + + +-NHDIR := ../$(BUILD) ++NHDIR := ../.. + NHSRC := $(NHDIR)/src + INCLUDE := -I $(NHDIR)/include/ -I . -I $(BUILDDIR)/ + |