freebsd-ports/games/falconseye/files/patch-sys_unix_nethack_sh
Kris Kennaway be2dc01b73 Add falconseye 1.9.3, a roguelike game heavily based on nethack.
If you've ever wondered what NetHack would be like with sound effects,
a MIDI soundtrack, a GUI and isometric dungeon interface a la Diablo,
here's your chance.

Obtained from:	OpenBSD (after unsmoking much crack)
2001-08-24 10:52:28 +00:00

19 lines
598 B
Text

--- sys/unix/nethack.sh.orig Sun Jun 24 18:57:24 2001
+++ sys/unix/nethack.sh Thu Jul 5 16:22:17 2001
@@ -6,6 +6,16 @@ export HACKDIR
HACK=$HACKDIR/nethack
MAXNROFPLAYERS=4
+# Handle extra config setup
+: ${FALCONCONFIG:=${HOME}/.falcon}
+if [ -d ${FALCONCONFIG} ]; then
+ :
+else
+ mkdir -p ${FALCONCONFIG}
+ cp ${HACKDIR}/config/* ${FALCONCONFIG}
+fi
+export FALCONCONFIG
+
# see if we can find the full path name of PAGER, so help files work properly
# assume that if someone sets up a special variable (HACKPAGER) for NetHack,
# it will already be in a form acceptable to NetHack