aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1997-10-04 14:53:11 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1997-10-04 14:53:11 +0000
commit3a3e53568579586d8c160f6d2e6532c41df940d1 (patch)
tree7087a89fe632aa02662f79b10b6384294a707e78 /games
parent5952d52cc6b939f3c13cad9c9130323d1d1a3607 (diff)
downloadports-3a3e53568579586d8c160f6d2e6532c41df940d1.tar.gz
ports-3a3e53568579586d8c160f6d2e6532c41df940d1.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/crossfire-client/Makefile20
-rw-r--r--games/crossfire-server/Makefile20
-rw-r--r--games/crossfire/Makefile20
-rw-r--r--games/nethack-qt/Makefile56
-rw-r--r--games/nethack-qt/pkg-descr32
-rw-r--r--games/nethack33-qt/Makefile56
-rw-r--r--games/nethack33-qt/pkg-descr32
-rw-r--r--games/nethack34-qt/Makefile56
-rw-r--r--games/nethack34-qt/pkg-descr32
9 files changed, 114 insertions, 210 deletions
diff --git a/games/crossfire-client/Makefile b/games/crossfire-client/Makefile
index 4fda9055df0e..11a5ddbac91c 100644
--- a/games/crossfire-client/Makefile
+++ b/games/crossfire-client/Makefile
@@ -3,7 +3,7 @@
# Date created: So 27 Okt 1996 12:25:55 MET
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.16 1997/07/18 05:04:10 asami Exp $
+# $Id: Makefile,v 1.17 1997/09/18 14:20:45 andreas Exp $
#
DISTNAME= crossfire-0.93.0
@@ -24,11 +24,11 @@ RUN_DEPENDS= perl5.00401:${PORTSDIR}/lang/perl5
EXTRACT_ONLY= ${CF_SOURCES} ${CF_DOC}
USE_IMAKE= yes
-PREFIX= ${LOCALBASE} # don't use /usr/X11R6
+PREFIX= ${LOCALBASE}
# Do you want to be able to rebuild documentation after installing the game
-# to produce Postscript documentation with colored icons ?! You have to go
-# into the workdir and to build everything manually.
+# to produce Postscript documentation with colored icons ?! You have to go
+# into the workdir and to build everything manually.
# You need TeX to do this ! Please read the README's !
WANT_CF_ARCH= NO
@@ -37,13 +37,13 @@ CF_MAPS= crossfire-0.93.0.maps.tar.gz
CF_DOC= crossfire-0.93.0.doc.tar.gz # crossfire doc ready for use
CF_SOUNDS= crossfire-0.92.7.sounds.tar.gz # no newer sounds available
.if ${WANT_CF_ARCH} == YES || ${WANT_CF_ARCH} == yes
-CF_ARCH= crossfire-0.93.5.arch.tar.gz # only for rebuild of doc
+CF_ARCH= crossfire-0.93.0.arch.tar.gz # only for rebuild of doc
.endif
#CF_CLSERV= eutl.tar.gz # only for client/server
CFDIR= ${PREFIX}/crossfire # crossfire base directory
# If you want to re-make playbook and spoiler you need the ARCH
-# files and a TeX version with a ,great' amount of max_mem
+# files and a TeX version with a ,great' amount of max_mem
# (I had to rebuild teTeX, that already is in fact ,BigTeX')
.if ${WANT_CF_ARCH} == YES || ${WANT_CF_ARCH} == yes
post-configure:
@@ -59,11 +59,11 @@ post-install:
@chmod 664 ${PREFIX}/crossfire/lib/bookarch
@touch ${PREFIX}/crossfire/lib/forbid
@chmod 664 ${PREFIX}/crossfire/lib/forbid
- @touch ${PREFIX}/crossfire/lib/players/.keep_me
- @touch ${PREFIX}/crossfire/lib/unique-items/.keep_me
- @/usr/sbin/chown -R games.games ${CFDIR}
+ @touch ${PREFIX}/crossfire/lib/players/.keep_me
+ @touch ${PREFIX}/crossfire/lib/unique-items/.keep_me
+ @chown -R games.games ${CFDIR}
@chmod 0664 ${PREFIX}/crossfire/lib/highscore
- @/usr/sbin/chown games.games ${PREFIX}/bin/crossfire
+ @chown games.games ${PREFIX}/bin/crossfire
@chmod 6555 ${PREFIX}/bin/crossfire
.include <bsd.port.mk>
diff --git a/games/crossfire-server/Makefile b/games/crossfire-server/Makefile
index 4fda9055df0e..11a5ddbac91c 100644
--- a/games/crossfire-server/Makefile
+++ b/games/crossfire-server/Makefile
@@ -3,7 +3,7 @@
# Date created: So 27 Okt 1996 12:25:55 MET
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.16 1997/07/18 05:04:10 asami Exp $
+# $Id: Makefile,v 1.17 1997/09/18 14:20:45 andreas Exp $
#
DISTNAME= crossfire-0.93.0
@@ -24,11 +24,11 @@ RUN_DEPENDS= perl5.00401:${PORTSDIR}/lang/perl5
EXTRACT_ONLY= ${CF_SOURCES} ${CF_DOC}
USE_IMAKE= yes
-PREFIX= ${LOCALBASE} # don't use /usr/X11R6
+PREFIX= ${LOCALBASE}
# Do you want to be able to rebuild documentation after installing the game
-# to produce Postscript documentation with colored icons ?! You have to go
-# into the workdir and to build everything manually.
+# to produce Postscript documentation with colored icons ?! You have to go
+# into the workdir and to build everything manually.
# You need TeX to do this ! Please read the README's !
WANT_CF_ARCH= NO
@@ -37,13 +37,13 @@ CF_MAPS= crossfire-0.93.0.maps.tar.gz
CF_DOC= crossfire-0.93.0.doc.tar.gz # crossfire doc ready for use
CF_SOUNDS= crossfire-0.92.7.sounds.tar.gz # no newer sounds available
.if ${WANT_CF_ARCH} == YES || ${WANT_CF_ARCH} == yes
-CF_ARCH= crossfire-0.93.5.arch.tar.gz # only for rebuild of doc
+CF_ARCH= crossfire-0.93.0.arch.tar.gz # only for rebuild of doc
.endif
#CF_CLSERV= eutl.tar.gz # only for client/server
CFDIR= ${PREFIX}/crossfire # crossfire base directory
# If you want to re-make playbook and spoiler you need the ARCH
-# files and a TeX version with a ,great' amount of max_mem
+# files and a TeX version with a ,great' amount of max_mem
# (I had to rebuild teTeX, that already is in fact ,BigTeX')
.if ${WANT_CF_ARCH} == YES || ${WANT_CF_ARCH} == yes
post-configure:
@@ -59,11 +59,11 @@ post-install:
@chmod 664 ${PREFIX}/crossfire/lib/bookarch
@touch ${PREFIX}/crossfire/lib/forbid
@chmod 664 ${PREFIX}/crossfire/lib/forbid
- @touch ${PREFIX}/crossfire/lib/players/.keep_me
- @touch ${PREFIX}/crossfire/lib/unique-items/.keep_me
- @/usr/sbin/chown -R games.games ${CFDIR}
+ @touch ${PREFIX}/crossfire/lib/players/.keep_me
+ @touch ${PREFIX}/crossfire/lib/unique-items/.keep_me
+ @chown -R games.games ${CFDIR}
@chmod 0664 ${PREFIX}/crossfire/lib/highscore
- @/usr/sbin/chown games.games ${PREFIX}/bin/crossfire
+ @chown games.games ${PREFIX}/bin/crossfire
@chmod 6555 ${PREFIX}/bin/crossfire
.include <bsd.port.mk>
diff --git a/games/crossfire/Makefile b/games/crossfire/Makefile
index 4fda9055df0e..11a5ddbac91c 100644
--- a/games/crossfire/Makefile
+++ b/games/crossfire/Makefile
@@ -3,7 +3,7 @@
# Date created: So 27 Okt 1996 12:25:55 MET
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.16 1997/07/18 05:04:10 asami Exp $
+# $Id: Makefile,v 1.17 1997/09/18 14:20:45 andreas Exp $
#
DISTNAME= crossfire-0.93.0
@@ -24,11 +24,11 @@ RUN_DEPENDS= perl5.00401:${PORTSDIR}/lang/perl5
EXTRACT_ONLY= ${CF_SOURCES} ${CF_DOC}
USE_IMAKE= yes
-PREFIX= ${LOCALBASE} # don't use /usr/X11R6
+PREFIX= ${LOCALBASE}
# Do you want to be able to rebuild documentation after installing the game
-# to produce Postscript documentation with colored icons ?! You have to go
-# into the workdir and to build everything manually.
+# to produce Postscript documentation with colored icons ?! You have to go
+# into the workdir and to build everything manually.
# You need TeX to do this ! Please read the README's !
WANT_CF_ARCH= NO
@@ -37,13 +37,13 @@ CF_MAPS= crossfire-0.93.0.maps.tar.gz
CF_DOC= crossfire-0.93.0.doc.tar.gz # crossfire doc ready for use
CF_SOUNDS= crossfire-0.92.7.sounds.tar.gz # no newer sounds available
.if ${WANT_CF_ARCH} == YES || ${WANT_CF_ARCH} == yes
-CF_ARCH= crossfire-0.93.5.arch.tar.gz # only for rebuild of doc
+CF_ARCH= crossfire-0.93.0.arch.tar.gz # only for rebuild of doc
.endif
#CF_CLSERV= eutl.tar.gz # only for client/server
CFDIR= ${PREFIX}/crossfire # crossfire base directory
# If you want to re-make playbook and spoiler you need the ARCH
-# files and a TeX version with a ,great' amount of max_mem
+# files and a TeX version with a ,great' amount of max_mem
# (I had to rebuild teTeX, that already is in fact ,BigTeX')
.if ${WANT_CF_ARCH} == YES || ${WANT_CF_ARCH} == yes
post-configure:
@@ -59,11 +59,11 @@ post-install:
@chmod 664 ${PREFIX}/crossfire/lib/bookarch
@touch ${PREFIX}/crossfire/lib/forbid
@chmod 664 ${PREFIX}/crossfire/lib/forbid
- @touch ${PREFIX}/crossfire/lib/players/.keep_me
- @touch ${PREFIX}/crossfire/lib/unique-items/.keep_me
- @/usr/sbin/chown -R games.games ${CFDIR}
+ @touch ${PREFIX}/crossfire/lib/players/.keep_me
+ @touch ${PREFIX}/crossfire/lib/unique-items/.keep_me
+ @chown -R games.games ${CFDIR}
@chmod 0664 ${PREFIX}/crossfire/lib/highscore
- @/usr/sbin/chown games.games ${PREFIX}/bin/crossfire
+ @chown games.games ${PREFIX}/bin/crossfire
@chmod 6555 ${PREFIX}/bin/crossfire
.include <bsd.port.mk>
diff --git a/games/nethack-qt/Makefile b/games/nethack-qt/Makefile
index 5d60bb2dc385..2f272641eb87 100644
--- a/games/nethack-qt/Makefile
+++ b/games/nethack-qt/Makefile
@@ -3,7 +3,7 @@
# Date created: So 6 Apr 1997 04:25:57 MET DST
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.6 1997/04/15 01:49:44 asami Exp $
+# $Id: Makefile,v 1.7 1997/07/12 16:53:38 max Exp $
#
DISTNAME= nethack-3.2.2
@@ -30,38 +30,38 @@ USE_GMAKE= yes
MAN6= dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6
pre-configure:
- @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
- @echo "!!! You cannot install nethack and nethack-qt in parallel !!!"
- @echo "!!! But nethack-qt might read your prior nethack scores !!!"
- @echo "!!! Don't forget to backup your nethack libdir if it's !!!"
- @echo "!!! important for you !!!"
- @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
- @cd ${WRKSRC}/win; tar xvzf ${DISTDIR}/${QT_PATCH}
- @cd ${WRKSRC}; patch < win/Qt/nhqt.patch
- @cd ${WRKSRC}/sys/unix; ${SH} setup.sh
- @cd ${WRKSRC}/src; patch < ${FILESDIR}/src-Makefile.diff
- @cd ${WRKSRC}/src; patch < ${FILESDIR}/src-sounds.c.diff
- @cd ${WRKSRC}; patch < ${FILESDIR}/include-unixconf.h.diff
+ @ ${ECHO} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ @ ${ECHO} "!! You cannot install nethack and nethack-qt in parallel !!"
+ @ ${ECHO} "!! But nethack-qt might read your prior nethack scores !!"
+ @ ${ECHO} "!! Don't forget to backup your nethack libdir if it's !!"
+ @ ${ECHO} "!! important for you !!"
+ @ ${ECHO} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ @ cd ${WRKSRC}/win; tar xvzf ${DISTDIR}/${QT_PATCH}
+ @ cd ${WRKSRC}; ${PATCH} < win/Qt/nhqt.patch
+ @ cd ${WRKSRC}/sys/unix; ${SH} setup.sh
+ @ cd ${WRKSRC}/src; ${PATCH} < ${FILESDIR}/src-Makefile.diff
+ @ cd ${WRKSRC}/src; ${PATCH} < ${FILESDIR}/src-sounds.c.diff
+ @ cd ${WRKSRC}; ${PATCH} < ${FILESDIR}/include-unixconf.h.diff
post-install:
- @cd ${WRKSRC}/doc; chmod 644 *.6
- @cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages
+ @ cd ${WRKSRC}/doc; chmod 644 *.6
+ @ cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/nethack
${CP} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
.endif
- @cd ${PREFIX}/lib/nethackdir; tar xzf ${DISTDIR}/${QT_SOUND}
- @cd ${PREFIX}/lib/nethackdir; chown games.games *.au .nethackrc
- @cd ${PREFIX}/lib/nethackdir; chmod 444 *.au .nethackrc
- echo "-----------------------"
- echo "post-installation hints
- echo "-----------------------"
- echo "a) Add this to your user environment:"
- echo " setenv AUDIOSERVER `hostname`:0"
- echo "b) Start the NAS audio server"
- echo " auvoxware -aa & # -aa allows any host access"
- echo "c) Copy the example nethackrc file from $FILESDIR to your"
- echo " login directory:"
- echo " cp $FILESDIR/sample.nethackrc $HOME/.nethackrc"
+ @ cd ${PREFIX}/lib/nethackdir; tar xzf ${DISTDIR}/${QT_SOUND}
+ @ cd ${PREFIX}/lib/nethackdir; chown games.games *.au .nethackrc
+ @ cd ${PREFIX}/lib/nethackdir; chmod 444 *.au .nethackrc
+ @ ${ECHO} "-----------------------"
+ @ ${ECHO} "post-installation hints
+ @ ${ECHO} "-----------------------"
+ @ ${ECHO} "a) Add this to your user environment:"
+ @ ${ECHO} " setenv AUDIOSERVER `hostname`:0"
+ @ ${ECHO} "b) Start the NAS audio server"
+ @ ${ECHO} " auvoxware -aa & # -aa allows any host access"
+ @ ${ECHO} "c) Copy the example nethackrc file from $FILESDIR to your"
+ @ ${ECHO} " login directory:"
+ @ ${ECHO} " ${CP} $FILESDIR/sample.nethackrc $HOME/.nethackrc"
.include <bsd.port.mk>
diff --git a/games/nethack-qt/pkg-descr b/games/nethack-qt/pkg-descr
index a96d2d7b08fa..143ab871f433 100644
--- a/games/nethack-qt/pkg-descr
+++ b/games/nethack-qt/pkg-descr
@@ -1,14 +1,11 @@
From: http://www.uq.edu.au/~cswallis/nhqt/
-NetHack QT - What is it?
-
NetHack is a Free graphical one-player roleplaying game with a
highly modular window system interface supporting TTY, VGA, Mac,
Amiga, and other displays. Qt is a graphical user interface toolkit.
So, "NetHack with Qt interface" is a version of NetHack which has
a user interface module written using the Qt toolkit.
-How is it better than the plain X11 interface?
The Qt interface has these extra features:
o Tiles (graphics) in the inventory and other item-menu windows.
@@ -23,32 +20,3 @@ o You rarely need to put the mouse in a pop-up to interact with it.
o Macros - hidden feature - F1=multi-rest F2=multi-search F3=try-it
o It is much easier to code, so new feature-requests are more easily done.
o Sound support.
-
-The standard NetHack X11 interface is written in C using the Athena
-Widgets toolkit. The strongest reason for doing it that way was
-that NetHack is one of the most incredibly portable programs of
-any kind, and the Athena Widget Set is also available for free on
-a large number of X11 implementations. The problem is that Athena
-Widgets (also known as Xaw) is very ugly, difficult to program in,
-and buggy. The Qt interface toolkit on the other hand is written
-in C++ and is freely portable to any X11 implementation, but is
-less widespread, making it inappropriate for the standard NetHack
-X11 interface.
-
-Sound support
-
-The QtNetHack patch includes experimental support for sounds to be
-played based on messages. For example, you can arrange for a gong
-to sound when the message "... cursing shoplifter..." appears. The
-system maps any regular expression (can be just some text) to a
-sound. The QtNetHack windowport is the only one providing this
-method, and it does so using the NAS (Network Audio System) . As
-distributed, the patch enables this feature - see include/config.h
-once you have applied the patch, and look for USER_SOUNDS for an
-explanation of how to disable it if you want to.
-
-You will also want to collect some sound samples to try it out,
-and a .nethackrc attaching them to messages. This package contains
-the .au files that I use, and my ~/.nethackrc. Many of the sounds
-are from the nhsound package, which you can find referenced on the
-NetHack Home Page.
diff --git a/games/nethack33-qt/Makefile b/games/nethack33-qt/Makefile
index 5d60bb2dc385..2f272641eb87 100644
--- a/games/nethack33-qt/Makefile
+++ b/games/nethack33-qt/Makefile
@@ -3,7 +3,7 @@
# Date created: So 6 Apr 1997 04:25:57 MET DST
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.6 1997/04/15 01:49:44 asami Exp $
+# $Id: Makefile,v 1.7 1997/07/12 16:53:38 max Exp $
#
DISTNAME= nethack-3.2.2
@@ -30,38 +30,38 @@ USE_GMAKE= yes
MAN6= dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6
pre-configure:
- @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
- @echo "!!! You cannot install nethack and nethack-qt in parallel !!!"
- @echo "!!! But nethack-qt might read your prior nethack scores !!!"
- @echo "!!! Don't forget to backup your nethack libdir if it's !!!"
- @echo "!!! important for you !!!"
- @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
- @cd ${WRKSRC}/win; tar xvzf ${DISTDIR}/${QT_PATCH}
- @cd ${WRKSRC}; patch < win/Qt/nhqt.patch
- @cd ${WRKSRC}/sys/unix; ${SH} setup.sh
- @cd ${WRKSRC}/src; patch < ${FILESDIR}/src-Makefile.diff
- @cd ${WRKSRC}/src; patch < ${FILESDIR}/src-sounds.c.diff
- @cd ${WRKSRC}; patch < ${FILESDIR}/include-unixconf.h.diff
+ @ ${ECHO} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ @ ${ECHO} "!! You cannot install nethack and nethack-qt in parallel !!"
+ @ ${ECHO} "!! But nethack-qt might read your prior nethack scores !!"
+ @ ${ECHO} "!! Don't forget to backup your nethack libdir if it's !!"
+ @ ${ECHO} "!! important for you !!"
+ @ ${ECHO} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ @ cd ${WRKSRC}/win; tar xvzf ${DISTDIR}/${QT_PATCH}
+ @ cd ${WRKSRC}; ${PATCH} < win/Qt/nhqt.patch
+ @ cd ${WRKSRC}/sys/unix; ${SH} setup.sh
+ @ cd ${WRKSRC}/src; ${PATCH} < ${FILESDIR}/src-Makefile.diff
+ @ cd ${WRKSRC}/src; ${PATCH} < ${FILESDIR}/src-sounds.c.diff
+ @ cd ${WRKSRC}; ${PATCH} < ${FILESDIR}/include-unixconf.h.diff
post-install:
- @cd ${WRKSRC}/doc; chmod 644 *.6
- @cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages
+ @ cd ${WRKSRC}/doc; chmod 644 *.6
+ @ cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/nethack
${CP} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
.endif
- @cd ${PREFIX}/lib/nethackdir; tar xzf ${DISTDIR}/${QT_SOUND}
- @cd ${PREFIX}/lib/nethackdir; chown games.games *.au .nethackrc
- @cd ${PREFIX}/lib/nethackdir; chmod 444 *.au .nethackrc
- echo "-----------------------"
- echo "post-installation hints
- echo "-----------------------"
- echo "a) Add this to your user environment:"
- echo " setenv AUDIOSERVER `hostname`:0"
- echo "b) Start the NAS audio server"
- echo " auvoxware -aa & # -aa allows any host access"
- echo "c) Copy the example nethackrc file from $FILESDIR to your"
- echo " login directory:"
- echo " cp $FILESDIR/sample.nethackrc $HOME/.nethackrc"
+ @ cd ${PREFIX}/lib/nethackdir; tar xzf ${DISTDIR}/${QT_SOUND}
+ @ cd ${PREFIX}/lib/nethackdir; chown games.games *.au .nethackrc
+ @ cd ${PREFIX}/lib/nethackdir; chmod 444 *.au .nethackrc
+ @ ${ECHO} "-----------------------"
+ @ ${ECHO} "post-installation hints
+ @ ${ECHO} "-----------------------"
+ @ ${ECHO} "a) Add this to your user environment:"
+ @ ${ECHO} " setenv AUDIOSERVER `hostname`:0"
+ @ ${ECHO} "b) Start the NAS audio server"
+ @ ${ECHO} " auvoxware -aa & # -aa allows any host access"
+ @ ${ECHO} "c) Copy the example nethackrc file from $FILESDIR to your"
+ @ ${ECHO} " login directory:"
+ @ ${ECHO} " ${CP} $FILESDIR/sample.nethackrc $HOME/.nethackrc"
.include <bsd.port.mk>
diff --git a/games/nethack33-qt/pkg-descr b/games/nethack33-qt/pkg-descr
index a96d2d7b08fa..143ab871f433 100644
--- a/games/nethack33-qt/pkg-descr
+++ b/games/nethack33-qt/pkg-descr
@@ -1,14 +1,11 @@
From: http://www.uq.edu.au/~cswallis/nhqt/
-NetHack QT - What is it?
-
NetHack is a Free graphical one-player roleplaying game with a
highly modular window system interface supporting TTY, VGA, Mac,
Amiga, and other displays. Qt is a graphical user interface toolkit.
So, "NetHack with Qt interface" is a version of NetHack which has
a user interface module written using the Qt toolkit.
-How is it better than the plain X11 interface?
The Qt interface has these extra features:
o Tiles (graphics) in the inventory and other item-menu windows.
@@ -23,32 +20,3 @@ o You rarely need to put the mouse in a pop-up to interact with it.
o Macros - hidden feature - F1=multi-rest F2=multi-search F3=try-it
o It is much easier to code, so new feature-requests are more easily done.
o Sound support.
-
-The standard NetHack X11 interface is written in C using the Athena
-Widgets toolkit. The strongest reason for doing it that way was
-that NetHack is one of the most incredibly portable programs of
-any kind, and the Athena Widget Set is also available for free on
-a large number of X11 implementations. The problem is that Athena
-Widgets (also known as Xaw) is very ugly, difficult to program in,
-and buggy. The Qt interface toolkit on the other hand is written
-in C++ and is freely portable to any X11 implementation, but is
-less widespread, making it inappropriate for the standard NetHack
-X11 interface.
-
-Sound support
-
-The QtNetHack patch includes experimental support for sounds to be
-played based on messages. For example, you can arrange for a gong
-to sound when the message "... cursing shoplifter..." appears. The
-system maps any regular expression (can be just some text) to a
-sound. The QtNetHack windowport is the only one providing this
-method, and it does so using the NAS (Network Audio System) . As
-distributed, the patch enables this feature - see include/config.h
-once you have applied the patch, and look for USER_SOUNDS for an
-explanation of how to disable it if you want to.
-
-You will also want to collect some sound samples to try it out,
-and a .nethackrc attaching them to messages. This package contains
-the .au files that I use, and my ~/.nethackrc. Many of the sounds
-are from the nhsound package, which you can find referenced on the
-NetHack Home Page.
diff --git a/games/nethack34-qt/Makefile b/games/nethack34-qt/Makefile
index 5d60bb2dc385..2f272641eb87 100644
--- a/games/nethack34-qt/Makefile
+++ b/games/nethack34-qt/Makefile
@@ -3,7 +3,7 @@
# Date created: So 6 Apr 1997 04:25:57 MET DST
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.6 1997/04/15 01:49:44 asami Exp $
+# $Id: Makefile,v 1.7 1997/07/12 16:53:38 max Exp $
#
DISTNAME= nethack-3.2.2
@@ -30,38 +30,38 @@ USE_GMAKE= yes
MAN6= dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6
pre-configure:
- @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
- @echo "!!! You cannot install nethack and nethack-qt in parallel !!!"
- @echo "!!! But nethack-qt might read your prior nethack scores !!!"
- @echo "!!! Don't forget to backup your nethack libdir if it's !!!"
- @echo "!!! important for you !!!"
- @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
- @cd ${WRKSRC}/win; tar xvzf ${DISTDIR}/${QT_PATCH}
- @cd ${WRKSRC}; patch < win/Qt/nhqt.patch
- @cd ${WRKSRC}/sys/unix; ${SH} setup.sh
- @cd ${WRKSRC}/src; patch < ${FILESDIR}/src-Makefile.diff
- @cd ${WRKSRC}/src; patch < ${FILESDIR}/src-sounds.c.diff
- @cd ${WRKSRC}; patch < ${FILESDIR}/include-unixconf.h.diff
+ @ ${ECHO} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ @ ${ECHO} "!! You cannot install nethack and nethack-qt in parallel !!"
+ @ ${ECHO} "!! But nethack-qt might read your prior nethack scores !!"
+ @ ${ECHO} "!! Don't forget to backup your nethack libdir if it's !!"
+ @ ${ECHO} "!! important for you !!"
+ @ ${ECHO} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ @ cd ${WRKSRC}/win; tar xvzf ${DISTDIR}/${QT_PATCH}
+ @ cd ${WRKSRC}; ${PATCH} < win/Qt/nhqt.patch
+ @ cd ${WRKSRC}/sys/unix; ${SH} setup.sh
+ @ cd ${WRKSRC}/src; ${PATCH} < ${FILESDIR}/src-Makefile.diff
+ @ cd ${WRKSRC}/src; ${PATCH} < ${FILESDIR}/src-sounds.c.diff
+ @ cd ${WRKSRC}; ${PATCH} < ${FILESDIR}/include-unixconf.h.diff
post-install:
- @cd ${WRKSRC}/doc; chmod 644 *.6
- @cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages
+ @ cd ${WRKSRC}/doc; chmod 644 *.6
+ @ cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/nethack
${CP} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
.endif
- @cd ${PREFIX}/lib/nethackdir; tar xzf ${DISTDIR}/${QT_SOUND}
- @cd ${PREFIX}/lib/nethackdir; chown games.games *.au .nethackrc
- @cd ${PREFIX}/lib/nethackdir; chmod 444 *.au .nethackrc
- echo "-----------------------"
- echo "post-installation hints
- echo "-----------------------"
- echo "a) Add this to your user environment:"
- echo " setenv AUDIOSERVER `hostname`:0"
- echo "b) Start the NAS audio server"
- echo " auvoxware -aa & # -aa allows any host access"
- echo "c) Copy the example nethackrc file from $FILESDIR to your"
- echo " login directory:"
- echo " cp $FILESDIR/sample.nethackrc $HOME/.nethackrc"
+ @ cd ${PREFIX}/lib/nethackdir; tar xzf ${DISTDIR}/${QT_SOUND}
+ @ cd ${PREFIX}/lib/nethackdir; chown games.games *.au .nethackrc
+ @ cd ${PREFIX}/lib/nethackdir; chmod 444 *.au .nethackrc
+ @ ${ECHO} "-----------------------"
+ @ ${ECHO} "post-installation hints
+ @ ${ECHO} "-----------------------"
+ @ ${ECHO} "a) Add this to your user environment:"
+ @ ${ECHO} " setenv AUDIOSERVER `hostname`:0"
+ @ ${ECHO} "b) Start the NAS audio server"
+ @ ${ECHO} " auvoxware -aa & # -aa allows any host access"
+ @ ${ECHO} "c) Copy the example nethackrc file from $FILESDIR to your"
+ @ ${ECHO} " login directory:"
+ @ ${ECHO} " ${CP} $FILESDIR/sample.nethackrc $HOME/.nethackrc"
.include <bsd.port.mk>
diff --git a/games/nethack34-qt/pkg-descr b/games/nethack34-qt/pkg-descr
index a96d2d7b08fa..143ab871f433 100644
--- a/games/nethack34-qt/pkg-descr
+++ b/games/nethack34-qt/pkg-descr
@@ -1,14 +1,11 @@
From: http://www.uq.edu.au/~cswallis/nhqt/
-NetHack QT - What is it?
-
NetHack is a Free graphical one-player roleplaying game with a
highly modular window system interface supporting TTY, VGA, Mac,
Amiga, and other displays. Qt is a graphical user interface toolkit.
So, "NetHack with Qt interface" is a version of NetHack which has
a user interface module written using the Qt toolkit.
-How is it better than the plain X11 interface?
The Qt interface has these extra features:
o Tiles (graphics) in the inventory and other item-menu windows.
@@ -23,32 +20,3 @@ o You rarely need to put the mouse in a pop-up to interact with it.
o Macros - hidden feature - F1=multi-rest F2=multi-search F3=try-it
o It is much easier to code, so new feature-requests are more easily done.
o Sound support.
-
-The standard NetHack X11 interface is written in C using the Athena
-Widgets toolkit. The strongest reason for doing it that way was
-that NetHack is one of the most incredibly portable programs of
-any kind, and the Athena Widget Set is also available for free on
-a large number of X11 implementations. The problem is that Athena
-Widgets (also known as Xaw) is very ugly, difficult to program in,
-and buggy. The Qt interface toolkit on the other hand is written
-in C++ and is freely portable to any X11 implementation, but is
-less widespread, making it inappropriate for the standard NetHack
-X11 interface.
-
-Sound support
-
-The QtNetHack patch includes experimental support for sounds to be
-played based on messages. For example, you can arrange for a gong
-to sound when the message "... cursing shoplifter..." appears. The
-system maps any regular expression (can be just some text) to a
-sound. The QtNetHack windowport is the only one providing this
-method, and it does so using the NAS (Network Audio System) . As
-distributed, the patch enables this feature - see include/config.h
-once you have applied the patch, and look for USER_SOUNDS for an
-explanation of how to disable it if you want to.
-
-You will also want to collect some sound samples to try it out,
-and a .nethackrc attaching them to messages. This package contains
-the .au files that I use, and my ~/.nethackrc. Many of the sounds
-are from the nhsound package, which you can find referenced on the
-NetHack Home Page.