diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-12-12 12:24:01 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-12-12 12:24:01 +0800 |
commit | decf983217a8c5250024e8b56c538a2ca2b68b05 (patch) | |
tree | 1f925007b3ef518023934a9b9d726e62ff587731 /games/nethack33-gnome/files | |
parent | 9bd6ce0b7ab3910729fe787be6e7a0e1c9b8dc77 (diff) | |
download | freebsd-ports-gnome-decf983217a8c5250024e8b56c538a2ca2b68b05.tar.gz freebsd-ports-gnome-decf983217a8c5250024e8b56c538a2ca2b68b05.tar.zst freebsd-ports-gnome-decf983217a8c5250024e8b56c538a2ca2b68b05.zip |
add nethack3-gnome
A dungeon explorin', slashin', hackin' game
PR: 23401
Submitted by: Jan Stocker <Jan.Stocker@t-online.de>
Diffstat (limited to 'games/nethack33-gnome/files')
6 files changed, 310 insertions, 0 deletions
diff --git a/games/nethack33-gnome/files/patch-include::config.h b/games/nethack33-gnome/files/patch-include::config.h new file mode 100644 index 000000000000..bf63b68aaa57 --- /dev/null +++ b/games/nethack33-gnome/files/patch-include::config.h @@ -0,0 +1,61 @@ +*** include/config.h.orig Sat Jul 22 03:13:51 2000 +--- include/config.h Sat Dec 9 13:31:34 2000 +*************** +*** 45,51 **** + #define TTY_GRAPHICS /* good old tty based graphics */ + /* #define X11_GRAPHICS */ /* X11 interface */ + /* #define QT_GRAPHICS */ /* Qt interface */ +! /* #define GNOME_GRAPHICS */ /* Gnome interface */ + + /* + * Define the default window system. This should be one that is compiled +--- 45,51 ---- + #define TTY_GRAPHICS /* good old tty based graphics */ + /* #define X11_GRAPHICS */ /* X11 interface */ + /* #define QT_GRAPHICS */ /* Qt interface */ +! #define GNOME_GRAPHICS /* Gnome interface */ + + /* + * Define the default window system. This should be one that is compiled +*************** +*** 151,161 **** + + #ifdef UNIX + /* path and file name extension for compression program */ +! #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ +! #define COMPRESS_EXTENSION ".Z" /* compress's extension */ + /* An example of one alternative you might want to use: */ +! /* #define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */ +! /* #define COMPRESS_EXTENSION ".gz" */ /* normal gzip extension */ + #endif + + #ifndef COMPRESS +--- 151,161 ---- + + #ifdef UNIX + /* path and file name extension for compression program */ +! /* #define COMPRESS "/usr/bin/compress" */ /* Lempel-Ziv compression */ +! /* #define COMPRESS_EXTENSION ".Z" */ /* compress's extension */ + /* An example of one alternative you might want to use: */ +! #define COMPRESS "/usr/bin/gzip" /* FSF gzip compression */ +! #define COMPRESS_EXTENSION ".gz" /* normal gzip extension */ + #endif + + #ifndef COMPRESS +*************** +*** 186,192 **** + * otherwise it will be the current directory. + */ + # ifndef HACKDIR +! # define HACKDIR "/usr/games/lib/nethackdir" /* nethack directory */ + # endif + + /* +--- 186,192 ---- + * otherwise it will be the current directory. + */ + # ifndef HACKDIR +! # define HACKDIR "/usr/local/share/nethack" /* nethack directory */ + # endif + + /* diff --git a/games/nethack33-gnome/files/patch-include::system.h b/games/nethack33-gnome/files/patch-include::system.h new file mode 100644 index 000000000000..fa0a14fb6988 --- /dev/null +++ b/games/nethack33-gnome/files/patch-include::system.h @@ -0,0 +1,19 @@ +*** include/system.h.orig Thu Jan 6 11:20:08 2000 +--- include/system.h Sat Sep 23 01:08:09 2000 +*************** +*** 516,522 **** + # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC) || (defined(HPUX) && defined(_POSIX_SOURCE)) + E time_t FDECL(time, (time_t *)); + # else +! E long FDECL(time, (time_t *)); + # endif /* ULTRIX */ + + #ifdef VMS +--- 516,522 ---- + # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC) || (defined(HPUX) && defined(_POSIX_SOURCE)) + E time_t FDECL(time, (time_t *)); + # else +! E time_t FDECL(time, (time_t *)); + # endif /* ULTRIX */ + + #ifdef VMS diff --git a/games/nethack33-gnome/files/patch-include::unixconf.h b/games/nethack33-gnome/files/patch-include::unixconf.h new file mode 100644 index 000000000000..8268fa5fd83f --- /dev/null +++ b/games/nethack33-gnome/files/patch-include::unixconf.h @@ -0,0 +1,36 @@ +*** include/unixconf.h.orig Sun Jul 16 18:03:51 2000 +--- include/unixconf.h Sat Sep 23 01:09:25 2000 +*************** +*** 47,53 **** + * job control (note that AIX is SYSV otherwise) + * Also define this for AIX 3.2 */ + +! #define TERMINFO /* uses terminfo rather than termcap */ + /* Should be defined for most SYSV, SVR4 (including + * Solaris 2+), HPUX, and Linux systems. In + * particular, it should NOT be defined for the UNIXPC +--- 47,53 ---- + * job control (note that AIX is SYSV otherwise) + * Also define this for AIX 3.2 */ + +! /* #define TERMINFO */ /* uses terminfo rather than termcap */ + /* Should be defined for most SYSV, SVR4 (including + * Solaris 2+), HPUX, and Linux systems. In + * particular, it should NOT be defined for the UNIXPC +*************** +*** 143,149 **** + * A stat system call is done on the mailbox every MAILCKFREQ moves. + */ + +! #define MAIL /* Deliver mail during the game */ + + /* The Andrew Message System does mail a little differently from normal + * UNIX. Mail is deposited in the user's own directory in ~/Mailbox +--- 143,149 ---- + * A stat system call is done on the mailbox every MAILCKFREQ moves. + */ + +! /* #define MAIL */ /* Deliver mail during the game */ + + /* The Andrew Message System does mail a little differently from normal + * UNIX. Mail is deposited in the user's own directory in ~/Mailbox diff --git a/games/nethack33-gnome/files/patch-sys::unix::Makefile.doc b/games/nethack33-gnome/files/patch-sys::unix::Makefile.doc new file mode 100644 index 000000000000..89653b31a76f --- /dev/null +++ b/games/nethack33-gnome/files/patch-sys::unix::Makefile.doc @@ -0,0 +1,44 @@ +*** sys/unix/Makefile.doc.orig Fri Jan 14 12:49:48 2000 +--- sys/unix/Makefile.doc Sat Sep 23 01:16:22 2000 +*************** +*** 34,40 **** + + + GAME = nethack +! MANDIR = /usr/man/man6 + MANEXT = 6 + + # manual installation for most BSD-style systems +--- 34,40 ---- + + + GAME = nethack +! MANDIR = ${PREFIX}/man/man + MANEXT = 6 + + # manual installation for most BSD-style systems +*************** +*** 51,61 **** + # 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) + + # manual creation for distribution + DISTRIB = Guidebook.txt nethack.txt lev_comp.txt dgn_comp.txt recover.txt dlb.txt +--- 51,61 ---- + # DLBMANCREATE = nroff -man dlb.6 > + + manpages: +! -$(GAMEMANCREATE) $(MANDIR)$(MANEXT)/$(GAME).$(MANEXT) +! -$(LEVMANCREATE) $(MANDIR)$(MANEXT)/lev_comp.$(MANEXT) +! -$(DGNMANCREATE) $(MANDIR)$(MANEXT)/dgn_comp.$(MANEXT) +! -$(RCVRMANCREATE) $(MANDIR)$(MANEXT)/recover.$(MANEXT) +! -$(DLBMANCREATE) $(MANDIR)$(MANEXT)/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/nethack33-gnome/files/patch-sys::unix::Makefile.src b/games/nethack33-gnome/files/patch-sys::unix::Makefile.src new file mode 100644 index 000000000000..8e54460116a0 --- /dev/null +++ b/games/nethack33-gnome/files/patch-sys::unix::Makefile.src @@ -0,0 +1,72 @@ +*** sys/unix/Makefile.src.orig Sat Aug 5 12:52:57 2000 +--- sys/unix/Makefile.src Sat Dec 9 13:09:44 2000 +*************** +*** 139,145 **** + # directories. The ones given below is the usual spot for linux systems. + # The paths are for glibconfig.h and gnomesupport.h respectively. + # +! GNOMEINC=-I/usr/lib/glib/include -I/usr/lib/gnome-libs/include -I../win/gnome + + # flags for debugging: + # CFLAGS = -g -I../include +--- 139,145 ---- + # directories. The ones given below is the usual spot for linux systems. + # The paths are for glibconfig.h and gnomesupport.h respectively. + # +! GNOMEINC=-I/usr/X11R6/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include/kpathsea -I../win/gnome + + # flags for debugging: + # CFLAGS = -g -I../include +*************** +*** 203,210 **** + + # + # +! WINSRC = $(WINTTYSRC) +! WINOBJ = $(WINTTYOBJ) + + # on some systems the termcap library is in -ltermcap or -lcurses + # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead +--- 203,210 ---- + + # + # +! WINSRC = $(WINTTYSRC) $(WINGNOMESRC) +! WINOBJ = $(WINTTYOBJ) $(WINGNOMEOBJ) + + # on some systems the termcap library is in -ltermcap or -lcurses + # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead +*************** +*** 236,242 **** + WINKDELIB = -lkdecore -lkdeui -lXext + # + # libraries for Gnome +! WINGNOMELIB = -lgnomeui -lgnome -lart_lgpl -lgtk -lgdk -lpopt + # + # libraries for Gem port + WINGEMLIB = -le_gem -lgem +--- 236,242 ---- + WINKDELIB = -lkdecore -lkdeui -lXext + # + # libraries for Gnome +! WINGNOMELIB = -L/usr/local/lib -L/usr/X11R6/lib -lgnomeui -lgnome -lart_lgpl -lgtk12 -lgdk12 -lglib12 -lpopt -lkpathsea + # + # libraries for Gem port + WINGEMLIB = -le_gem -lgem +*************** +*** 244,250 **** + # libraries for BeOS + WINBELIB = -lbe + +! WINLIB = $(WINTTYLIB) + + # any other strange libraries your system needs (for Sysunix only -- the more + # specialized targets should already be right) +--- 244,250 ---- + # libraries for BeOS + WINBELIB = -lbe + +! WINLIB = $(WINTTYLIB) $(WINGNOMELIB) + + # any other strange libraries your system needs (for Sysunix only -- the more + # specialized targets should already be right) diff --git a/games/nethack33-gnome/files/patch-sys::unix::Makefile.top b/games/nethack33-gnome/files/patch-sys::unix::Makefile.top new file mode 100644 index 000000000000..3e0433d9f23b --- /dev/null +++ b/games/nethack33-gnome/files/patch-sys::unix::Makefile.top @@ -0,0 +1,78 @@ +*** sys/unix/Makefile.top.orig Tue Jul 4 02:42:05 2000 +--- sys/unix/Makefile.top Sat Dec 9 13:08:51 2000 +*************** +*** 14,31 **** + # MAKE = make + + # make NetHack +- PREFIX = /usr + GAME = nethack + # GAME = nethack.prg + GAMEUID = games +! GAMEGRP = bin + + # Permissions - some places use setgid instead of setuid, for instance + # See also the option "SECURE" in include/config.h +! GAMEPERM = 04755 +! FILEPERM = 0644 + EXEPERM = 0755 +! DIRPERM = 0755 + + # GAMEDIR also appears in config.h as "HACKDIR". + # VARDIR may also appear in unixconf.h as "VAR_PLAYGROUND" else GAMEDIR +--- 14,30 ---- + # MAKE = make + + # make NetHack + GAME = nethack + # GAME = nethack.prg + GAMEUID = games +! GAMEGRP = games + + # Permissions - some places use setgid instead of setuid, for instance + # See also the option "SECURE" in include/config.h +! GAMEPERM = 02755 +! FILEPERM = 0664 + EXEPERM = 0755 +! DIRPERM = 0775 + + # GAMEDIR also appears in config.h as "HACKDIR". + # VARDIR may also appear in unixconf.h as "VAR_PLAYGROUND" else GAMEDIR +*************** +*** 35,43 **** + # 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 + VARDIR = $(GAMEDIR) +! SHELLDIR = $(PREFIX)/games + + # per discussion in Install.X11 and Install.Qt + VARDATND = +--- 34,42 ---- + # 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)/share/$(GAME) + VARDIR = $(GAMEDIR) +! SHELLDIR = $(PREFIX)/bin + + # per discussion in Install.X11 and Install.Qt + VARDATND = +*************** +*** 48,54 **** + # for BeOS + # VARDATND = beostiles + # for Gnome +! # VARDATND = x11tiles pet_mark.xbm rip.xpm mapbg.xpm + + VARDATD = data oracles options quest.dat rumors + VARDAT = $(VARDATD) $(VARDATND) +--- 47,53 ---- + # for BeOS + # VARDATND = beostiles + # for Gnome +! VARDATND = x11tiles pet_mark.xbm rip.xpm mapbg.xpm + + VARDATD = data oracles options quest.dat rumors + VARDAT = $(VARDATD) $(VARDATND) |