Date: Sat, 9 Dec 2000 14:11:09 +0100 (CET) From: root@jstocker.home.informatik.uni-bremen.de To: FreeBSD-gnats-submit@freebsd.org Subject: ports/23401: NetHack 3.3.1 with GNOME support Message-ID: <200012091311.eB9DB9P35514@jstocker.home.informatik.uni-bremen.de> Resent-Message-ID: <200012091320.eB9DK4S50767@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 23401 >Category: ports >Synopsis: NetHack 3.3.1 with GNOME support >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 09 05:20:03 PST 2000 >Closed-Date: >Last-Modified: >Originator: Jan Stocker >Release: FreeBSD 4.2-RELEASE i386 >Organization: >Environment: >Description: This is a port for Nethack 3.3.1 with TTY and GNOME support. Jan # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # games/nethack3-gnome # games/nethack3-gnome/files # games/nethack3-gnome/files/patch-aa # games/nethack3-gnome/files/patch-ab # games/nethack3-gnome/files/patch-ac # games/nethack3-gnome/files/patch-ad # games/nethack3-gnome/files/patch-ae # games/nethack3-gnome/files/patch-af # games/nethack3-gnome/distinfo # games/nethack3-gnome/pkg-descr # games/nethack3-gnome/pkg-plist # games/nethack3-gnome/pkg-comment # games/nethack3-gnome/Makefile # echo c - games/nethack3-gnome mkdir -p games/nethack3-gnome > /dev/null 2>&1 echo c - games/nethack3-gnome/files mkdir -p games/nethack3-gnome/files > /dev/null 2>&1 echo x - games/nethack3-gnome/files/patch-aa sed 's/^X//' >games/nethack3-gnome/files/patch-aa << 'END-of-games/nethack3-gnome/files/patch-aa' X*** include/config.h.orig Sat Jul 22 03:13:51 2000 X--- include/config.h Sat Dec 9 13:31:34 2000 X*************** X*** 45,51 **** X #define TTY_GRAPHICS /* good old tty based graphics */ X /* #define X11_GRAPHICS */ /* X11 interface */ X /* #define QT_GRAPHICS */ /* Qt interface */ X! /* #define GNOME_GRAPHICS */ /* Gnome interface */ X X /* X * Define the default window system. This should be one that is compiled X--- 45,51 ---- X #define TTY_GRAPHICS /* good old tty based graphics */ X /* #define X11_GRAPHICS */ /* X11 interface */ X /* #define QT_GRAPHICS */ /* Qt interface */ X! #define GNOME_GRAPHICS /* Gnome interface */ X X /* X * Define the default window system. This should be one that is compiled X*************** X*** 151,161 **** X X #ifdef UNIX X /* path and file name extension for compression program */ X! #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ X! #define COMPRESS_EXTENSION ".Z" /* compress's extension */ X /* An example of one alternative you might want to use: */ X! /* #define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */ X! /* #define COMPRESS_EXTENSION ".gz" */ /* normal gzip extension */ X #endif X X #ifndef COMPRESS X--- 151,161 ---- X X #ifdef UNIX X /* path and file name extension for compression program */ X! /* #define COMPRESS "/usr/bin/compress" */ /* Lempel-Ziv compression */ X! /* #define COMPRESS_EXTENSION ".Z" */ /* compress's extension */ X /* An example of one alternative you might want to use: */ X! #define COMPRESS "/usr/bin/gzip" /* FSF gzip compression */ X! #define COMPRESS_EXTENSION ".gz" /* normal gzip extension */ X #endif X X #ifndef COMPRESS X*************** X*** 186,192 **** X * otherwise it will be the current directory. X */ X # ifndef HACKDIR X! # define HACKDIR "/usr/games/lib/nethackdir" /* nethack directory */ X # endif X X /* X--- 186,192 ---- X * otherwise it will be the current directory. X */ X # ifndef HACKDIR X! # define HACKDIR "/usr/local/share/nethack" /* nethack directory */ X # endif X X /* END-of-games/nethack3-gnome/files/patch-aa echo x - games/nethack3-gnome/files/patch-ab sed 's/^X//' >games/nethack3-gnome/files/patch-ab << 'END-of-games/nethack3-gnome/files/patch-ab' X*** include/system.h.orig Thu Jan 6 11:20:08 2000 X--- include/system.h Sat Sep 23 01:08:09 2000 X*************** X*** 516,522 **** X # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC) || (defined(HPUX) && defined(_POSIX_SOURCE)) X E time_t FDECL(time, (time_t *)); X # else X! E long FDECL(time, (time_t *)); X # endif /* ULTRIX */ X X #ifdef VMS X--- 516,522 ---- X # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC) || (defined(HPUX) && defined(_POSIX_SOURCE)) X E time_t FDECL(time, (time_t *)); X # else X! E time_t FDECL(time, (time_t *)); X # endif /* ULTRIX */ X X #ifdef VMS END-of-games/nethack3-gnome/files/patch-ab echo x - games/nethack3-gnome/files/patch-ac sed 's/^X//' >games/nethack3-gnome/files/patch-ac << 'END-of-games/nethack3-gnome/files/patch-ac' X*** include/unixconf.h.orig Sun Jul 16 18:03:51 2000 X--- include/unixconf.h Sat Sep 23 01:09:25 2000 X*************** X*** 47,53 **** X * job control (note that AIX is SYSV otherwise) X * Also define this for AIX 3.2 */ X X! #define TERMINFO /* uses terminfo rather than termcap */ X /* Should be defined for most SYSV, SVR4 (including X * Solaris 2+), HPUX, and Linux systems. In X * particular, it should NOT be defined for the UNIXPC X--- 47,53 ---- X * job control (note that AIX is SYSV otherwise) X * Also define this for AIX 3.2 */ X X! /* #define TERMINFO */ /* uses terminfo rather than termcap */ X /* Should be defined for most SYSV, SVR4 (including X * Solaris 2+), HPUX, and Linux systems. In X * particular, it should NOT be defined for the UNIXPC X*************** X*** 143,149 **** X * A stat system call is done on the mailbox every MAILCKFREQ moves. X */ X X! #define MAIL /* Deliver mail during the game */ X X /* The Andrew Message System does mail a little differently from normal X * UNIX. Mail is deposited in the user's own directory in ~/Mailbox X--- 143,149 ---- X * A stat system call is done on the mailbox every MAILCKFREQ moves. X */ X X! /* #define MAIL */ /* Deliver mail during the game */ X X /* The Andrew Message System does mail a little differently from normal X * UNIX. Mail is deposited in the user's own directory in ~/Mailbox END-of-games/nethack3-gnome/files/patch-ac echo x - games/nethack3-gnome/files/patch-ad sed 's/^X//' >games/nethack3-gnome/files/patch-ad << 'END-of-games/nethack3-gnome/files/patch-ad' X*** sys/unix/Makefile.top.orig Tue Jul 4 02:42:05 2000 X--- sys/unix/Makefile.top Sat Dec 9 13:08:51 2000 X*************** X*** 14,31 **** X # MAKE = make X X # make NetHack X- PREFIX = /usr X GAME = nethack X # GAME = nethack.prg X GAMEUID = games X! GAMEGRP = bin X X # Permissions - some places use setgid instead of setuid, for instance X # See also the option "SECURE" in include/config.h X! GAMEPERM = 04755 X! FILEPERM = 0644 X EXEPERM = 0755 X! DIRPERM = 0755 X X # GAMEDIR also appears in config.h as "HACKDIR". X # VARDIR may also appear in unixconf.h as "VAR_PLAYGROUND" else GAMEDIR X--- 14,30 ---- X # MAKE = make X X # make NetHack X GAME = nethack X # GAME = nethack.prg X GAMEUID = games X! GAMEGRP = games X X # Permissions - some places use setgid instead of setuid, for instance X # See also the option "SECURE" in include/config.h X! GAMEPERM = 02755 X! FILEPERM = 0664 X EXEPERM = 0755 X! DIRPERM = 0775 X X # GAMEDIR also appears in config.h as "HACKDIR". X # VARDIR may also appear in unixconf.h as "VAR_PLAYGROUND" else GAMEDIR X*************** X*** 35,43 **** X # therefore there should not be anything in GAMEDIR that you want to keep X # (if there is, you'll have to do the installation by hand or modify the X # instructions) X! GAMEDIR = $(PREFIX)/games/lib/$(GAME)dir X VARDIR = $(GAMEDIR) X! SHELLDIR = $(PREFIX)/games X X # per discussion in Install.X11 and Install.Qt X VARDATND = X--- 34,42 ---- X # therefore there should not be anything in GAMEDIR that you want to keep X # (if there is, you'll have to do the installation by hand or modify the X # instructions) X! GAMEDIR = $(PREFIX)/share/$(GAME) X VARDIR = $(GAMEDIR) X! SHELLDIR = $(PREFIX)/bin X X # per discussion in Install.X11 and Install.Qt X VARDATND = X*************** X*** 48,54 **** X # for BeOS X # VARDATND = beostiles X # for Gnome X! # VARDATND = x11tiles pet_mark.xbm rip.xpm mapbg.xpm X X VARDATD = data oracles options quest.dat rumors X VARDAT = $(VARDATD) $(VARDATND) X--- 47,53 ---- X # for BeOS X # VARDATND = beostiles X # for Gnome X! VARDATND = x11tiles pet_mark.xbm rip.xpm mapbg.xpm X X VARDATD = data oracles options quest.dat rumors X VARDAT = $(VARDATD) $(VARDATND) END-of-games/nethack3-gnome/files/patch-ad echo x - games/nethack3-gnome/files/patch-ae sed 's/^X//' >games/nethack3-gnome/files/patch-ae << 'END-of-games/nethack3-gnome/files/patch-ae' X*** sys/unix/Makefile.doc.orig Fri Jan 14 12:49:48 2000 X--- sys/unix/Makefile.doc Sat Sep 23 01:16:22 2000 X*************** X*** 34,40 **** X X X GAME = nethack X! MANDIR = /usr/man/man6 X MANEXT = 6 X X # manual installation for most BSD-style systems X--- 34,40 ---- X X X GAME = nethack X! MANDIR = ${PREFIX}/man/man X MANEXT = 6 X X # manual installation for most BSD-style systems X*************** X*** 51,61 **** X # DLBMANCREATE = nroff -man dlb.6 > X X manpages: X! -$(GAMEMANCREATE) $(MANDIR)/$(GAME).$(MANEXT) X! -$(LEVMANCREATE) $(MANDIR)/lev_comp.$(MANEXT) X! -$(DGNMANCREATE) $(MANDIR)/dgn_comp.$(MANEXT) X! -$(RCVRMANCREATE) $(MANDIR)/recover.$(MANEXT) X! -$(DLBMANCREATE) $(MANDIR)/dlb.$(MANEXT) X X # manual creation for distribution X DISTRIB = Guidebook.txt nethack.txt lev_comp.txt dgn_comp.txt recover.txt dlb.txt X--- 51,61 ---- X # DLBMANCREATE = nroff -man dlb.6 > X X manpages: X! -$(GAMEMANCREATE) $(MANDIR)$(MANEXT)/$(GAME).$(MANEXT) X! -$(LEVMANCREATE) $(MANDIR)$(MANEXT)/lev_comp.$(MANEXT) X! -$(DGNMANCREATE) $(MANDIR)$(MANEXT)/dgn_comp.$(MANEXT) X! -$(RCVRMANCREATE) $(MANDIR)$(MANEXT)/recover.$(MANEXT) X! -$(DLBMANCREATE) $(MANDIR)$(MANEXT)/dlb.$(MANEXT) X X # manual creation for distribution X DISTRIB = Guidebook.txt nethack.txt lev_comp.txt dgn_comp.txt recover.txt dlb.txt END-of-games/nethack3-gnome/files/patch-ae echo x - games/nethack3-gnome/files/patch-af sed 's/^X//' >games/nethack3-gnome/files/patch-af << 'END-of-games/nethack3-gnome/files/patch-af' X*** sys/unix/Makefile.src.orig Sat Aug 5 12:52:57 2000 X--- sys/unix/Makefile.src Sat Dec 9 13:09:44 2000 X*************** X*** 139,145 **** X # directories. The ones given below is the usual spot for linux systems. X # The paths are for glibconfig.h and gnomesupport.h respectively. X # X! GNOMEINC=-I/usr/lib/glib/include -I/usr/lib/gnome-libs/include -I../win/gnome X X # flags for debugging: X # CFLAGS = -g -I../include X--- 139,145 ---- X # directories. The ones given below is the usual spot for linux systems. X # The paths are for glibconfig.h and gnomesupport.h respectively. X # X! GNOMEINC=-I/usr/X11R6/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include/kpathsea -I../win/gnome X X # flags for debugging: X # CFLAGS = -g -I../include X*************** X*** 203,210 **** X X # X # X! WINSRC = $(WINTTYSRC) X! WINOBJ = $(WINTTYOBJ) X X # on some systems the termcap library is in -ltermcap or -lcurses X # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead X--- 203,210 ---- X X # X # X! WINSRC = $(WINTTYSRC) $(WINGNOMESRC) X! WINOBJ = $(WINTTYOBJ) $(WINGNOMEOBJ) X X # on some systems the termcap library is in -ltermcap or -lcurses X # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead X*************** X*** 236,242 **** X WINKDELIB = -lkdecore -lkdeui -lXext X # X # libraries for Gnome X! WINGNOMELIB = -lgnomeui -lgnome -lart_lgpl -lgtk -lgdk -lpopt X # X # libraries for Gem port X WINGEMLIB = -le_gem -lgem X--- 236,242 ---- X WINKDELIB = -lkdecore -lkdeui -lXext X # X # libraries for Gnome X! WINGNOMELIB = -L/usr/local/lib -L/usr/X11R6/lib -lgnomeui -lgnome -lart_lgpl -lgtk12 -lgdk12 -lglib12 -lpopt -lkpathsea X # X # libraries for Gem port X WINGEMLIB = -le_gem -lgem X*************** X*** 244,250 **** X # libraries for BeOS X WINBELIB = -lbe X X! WINLIB = $(WINTTYLIB) X X # any other strange libraries your system needs (for Sysunix only -- the more X # specialized targets should already be right) X--- 244,250 ---- X # libraries for BeOS X WINBELIB = -lbe X X! WINLIB = $(WINTTYLIB) $(WINGNOMELIB) X X # any other strange libraries your system needs (for Sysunix only -- the more X # specialized targets should already be right) END-of-games/nethack3-gnome/files/patch-af echo x - games/nethack3-gnome/distinfo sed 's/^X//' >games/nethack3-gnome/distinfo << 'END-of-games/nethack3-gnome/distinfo' XMD5 (nethack-331.tgz) = d0600ce4698c80e5ad1f917ded1c36d2 END-of-games/nethack3-gnome/distinfo echo x - games/nethack3-gnome/pkg-descr sed 's/^X//' >games/nethack3-gnome/pkg-descr << 'END-of-games/nethack3-gnome/pkg-descr' XThis is version 3.3.1 of nethack, a clasic ASCII-based adventure game Xwith graphics support for Gnome. XYou and your faithful pet are on a quest to retrieve the lost Amulet Xof Yendor. X XWWW: http://www.nethack.org/ X XJan.Stocker@t-online.de END-of-games/nethack3-gnome/pkg-descr echo x - games/nethack3-gnome/pkg-plist sed 's/^X//' >games/nethack3-gnome/pkg-plist << 'END-of-games/nethack3-gnome/pkg-plist' Xbin/nethack Xshare/nethack/nethack X@exec mkdir %D/share/nethack/save X@exec chmod -R 775 %D/share/nethack X@exec chmod 2755 %D/share/nethack/nethack X@exec chown games.games %D/share/nethack/save X@unexec rm -rf %D/share/nethack/save Xshare/doc/nethack/Guidebook.txt Xshare/nethack/Arc-fila.lev Xshare/nethack/Arc-filb.lev Xshare/nethack/Arc-goal.lev Xshare/nethack/Arc-loca.lev Xshare/nethack/Arc-strt.lev Xshare/nethack/Bar-fila.lev Xshare/nethack/Bar-filb.lev Xshare/nethack/Bar-goal.lev Xshare/nethack/Bar-loca.lev Xshare/nethack/Bar-strt.lev Xshare/nethack/Cav-fila.lev Xshare/nethack/Cav-filb.lev Xshare/nethack/Cav-goal.lev Xshare/nethack/Cav-loca.lev Xshare/nethack/Cav-strt.lev Xshare/nethack/Hea-fila.lev Xshare/nethack/Hea-filb.lev Xshare/nethack/Hea-goal.lev Xshare/nethack/Hea-loca.lev Xshare/nethack/Hea-strt.lev Xshare/nethack/Kni-fila.lev Xshare/nethack/Kni-filb.lev Xshare/nethack/Kni-goal.lev Xshare/nethack/Kni-loca.lev Xshare/nethack/Kni-strt.lev Xshare/nethack/Mon-fila.lev Xshare/nethack/Mon-filb.lev Xshare/nethack/Mon-goal.lev Xshare/nethack/Mon-loca.lev Xshare/nethack/Mon-strt.lev Xshare/nethack/Pri-fila.lev Xshare/nethack/Pri-filb.lev Xshare/nethack/Pri-goal.lev Xshare/nethack/Pri-loca.lev Xshare/nethack/Pri-strt.lev Xshare/nethack/Ran-fila.lev Xshare/nethack/Ran-filb.lev Xshare/nethack/Ran-goal.lev Xshare/nethack/Ran-loca.lev Xshare/nethack/Ran-strt.lev Xshare/nethack/Rog-fila.lev Xshare/nethack/Rog-filb.lev Xshare/nethack/Rog-goal.lev Xshare/nethack/Rog-loca.lev Xshare/nethack/Rog-strt.lev Xshare/nethack/Sam-fila.lev Xshare/nethack/Sam-filb.lev Xshare/nethack/Sam-goal.lev Xshare/nethack/Sam-loca.lev Xshare/nethack/Sam-strt.lev Xshare/nethack/Tou-fila.lev Xshare/nethack/Tou-filb.lev Xshare/nethack/Tou-goal.lev Xshare/nethack/Tou-loca.lev Xshare/nethack/Tou-strt.lev Xshare/nethack/Val-fila.lev Xshare/nethack/Val-filb.lev Xshare/nethack/Val-goal.lev Xshare/nethack/Val-loca.lev Xshare/nethack/Val-strt.lev Xshare/nethack/Wiz-fila.lev Xshare/nethack/Wiz-filb.lev Xshare/nethack/Wiz-goal.lev Xshare/nethack/Wiz-loca.lev Xshare/nethack/Wiz-strt.lev Xshare/nethack/air.lev Xshare/nethack/asmodeus.lev Xshare/nethack/astral.lev Xshare/nethack/baalz.lev Xshare/nethack/bigrm-1.lev Xshare/nethack/bigrm-2.lev Xshare/nethack/bigrm-3.lev Xshare/nethack/bigrm-4.lev Xshare/nethack/bigrm-5.lev Xshare/nethack/castle.lev Xshare/nethack/cmdhelp Xshare/nethack/data Xshare/nethack/dungeon Xshare/nethack/earth.lev Xshare/nethack/fakewiz1.lev Xshare/nethack/fakewiz2.lev Xshare/nethack/fire.lev Xshare/nethack/help Xshare/nethack/hh Xshare/nethack/history Xshare/nethack/juiblex.lev Xshare/nethack/knox.lev Xshare/nethack/license Xshare/nethack/mapbg.xpm Xshare/nethack/medusa-1.lev Xshare/nethack/medusa-2.lev Xshare/nethack/minefill.lev Xshare/nethack/minend-1.lev Xshare/nethack/minend-2.lev Xshare/nethack/minetn-1.lev Xshare/nethack/minetn-2.lev Xshare/nethack/opthelp Xshare/nethack/options Xshare/nethack/oracle.lev Xshare/nethack/oracles Xshare/nethack/orcus.lev Xshare/nethack/pet_mark.xbm Xshare/nethack/quest.dat Xshare/nethack/rumors Xshare/nethack/sanctum.lev Xshare/nethack/soko1-1.lev Xshare/nethack/soko1-2.lev Xshare/nethack/soko2-1.lev Xshare/nethack/soko2-2.lev Xshare/nethack/soko3-1.lev Xshare/nethack/soko3-2.lev Xshare/nethack/soko4-1.lev Xshare/nethack/soko4-2.lev Xshare/nethack/tower1.lev Xshare/nethack/tower2.lev Xshare/nethack/tower3.lev Xshare/nethack/valley.lev Xshare/nethack/water.lev Xshare/nethack/wizard1.lev Xshare/nethack/wizard2.lev Xshare/nethack/wizard3.lev Xshare/nethack/wizhelp Xshare/nethack/rip.xpm Xshare/nethack/x11tiles X@mode 664 Xshare/nethack/logfile Xshare/nethack/record Xshare/nethack/perm X@dirrm share/nethack X@dirrm share/doc/nethack X X X X END-of-games/nethack3-gnome/pkg-plist echo x - games/nethack3-gnome/pkg-comment sed 's/^X//' >games/nethack3-gnome/pkg-comment << 'END-of-games/nethack3-gnome/pkg-comment' XA dungeon explorin', slashin', hackin' game END-of-games/nethack3-gnome/pkg-comment echo x - games/nethack3-gnome/Makefile sed 's/^X//' >games/nethack3-gnome/Makefile << 'END-of-games/nethack3-gnome/Makefile' X# New ports collection makefile for: nethack X# Date created: 09 December 2000 X# Whom: Jan Stocker <Jan.Stocker@t-online.de> X XPORTNAME= nethack XPORTVERSION= 3.3.1 XCATEGORIES= games XMASTER_SITES= ftp://ftp.nethack.org/pub/nethack/nh331/src/ \ X ${MASTER_SITE_GNU} XMASTER_SITE_SUBDIR= nethack XDISTFILES= ${PORTNAME}-331.${EXTRACT_SUFIX} X XMAINTAINER= Jan.Stocker@t-online.de X XEXTRACT_SUFIX= tgz XUSE_GMAKE= yes XMAN6= dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6 X XLIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \ X gnomeui.4:${PORTSDIR}/x11/gnomelibs \ X art_lgpl.4:${PORTSDIR}/x11/gnomelibs \ X gdk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ X gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ X popt.0:${PORTSDIR}/devel/popt X X pre-configure: X @cd ${WRKSRC}/sys/unix; ${SH} setup.sh X Xpost-install: X @cd ${WRKSRC}/doc; ${CHMOD} 644 *.6 X @cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/nethack X ${CP} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack X.endif X X.include <bsd.port.mk> END-of-games/nethack3-gnome/Makefile exit >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012091311.eB9DB9P35514>