diff options
author | pooka <pooka@pkgsrc.org> | 2005-05-08 10:17:30 +0000 |
---|---|---|
committer | pooka <pooka@pkgsrc.org> | 2005-05-08 10:17:30 +0000 |
commit | 244cbb2047c4724204b212aeacc294190202c18f (patch) | |
tree | 71c0f28ecdc6d6b029aab35c2f986d11a467826c /games/nethack-x11 | |
parent | 359f88c94588bb7c186bbb5e016ef70754842f25 (diff) | |
download | pkgsrc-244cbb2047c4724204b212aeacc294190202c18f.tar.gz |
* install the nethack nh10 font
* install some x11 resources examples files
from from Sergey Svishchev in PR pkg/21753
Diffstat (limited to 'games/nethack-x11')
-rw-r--r-- | games/nethack-x11/MESSAGE | 16 | ||||
-rw-r--r-- | games/nethack-x11/Makefile | 9 | ||||
-rw-r--r-- | games/nethack-x11/PLIST | 5 |
3 files changed, 26 insertions, 4 deletions
diff --git a/games/nethack-x11/MESSAGE b/games/nethack-x11/MESSAGE index 913ab5b60f0..4ce036e4599 100644 --- a/games/nethack-x11/MESSAGE +++ b/games/nethack-x11/MESSAGE @@ -1,6 +1,18 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.2 2002/09/24 12:30:01 wiz Exp $ +$NetBSD: MESSAGE,v 1.3 2005/05/08 10:17:30 pooka Exp $ -You can run the X11 NetHack by typing "nethack x11" +You can run the X11 NetHack by typing "nethack x11". + +A custom NetHack font was installed. You must add +${PREFIX}/lib/X11/fonts/misc to fontpath and set + +NetHack*map*font: nh10 + +in ${PREFIX}/lib/X11/app-defaults/NetHack to use it. +Tiled mode is enabled by: + +NetHack.tile_file: x11tiles + +Also see ${PREFIX}/share/nethackdir340/nethack.x11.rc =========================================================================== diff --git a/games/nethack-x11/Makefile b/games/nethack-x11/Makefile index c9ab2d552f7..61413b7670a 100644 --- a/games/nethack-x11/Makefile +++ b/games/nethack-x11/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2005/04/11 21:45:55 tv Exp $ +# $NetBSD: Makefile,v 1.25 2005/05/08 10:17:30 pooka Exp $ # .include "../nethack-lib/Makefile.common" @@ -17,9 +17,16 @@ INSTALL_TARGET= binfiles MAKE_ENV+= GTYPE=-x11 ALLFILES+= ${DISTFILES} +FONTS_X11_DIRS+= ${PREFIX}/lib/X11/fonts/misc post-install: @${INSTALL_DATA} ${WRKSRC}/dat/x11tiles ${PREFIX}/share/${NETHACK_DIR} + @${INSTALL_DATA} ${WRKSRC}/win/X11/NetHack.ad \ + ${PREFIX}/lib/X11/app-defaults/NetHack + @${INSTALL_DATA} ${WRKSRC}/win/X11/nh10.bdf ${PREFIX}/lib/X11/fonts/misc + @${INSTALL_DATA} ${WRKSRC}/win/X11/nethack.rc \ + ${PREFIX}/share/${NETHACK_DIR}/nethack.x11.rc .include "../../graphics/xpm/buildlink3.mk" +.include "../../mk/fonts.mk" .include "../../mk/bsd.pkg.mk" diff --git a/games/nethack-x11/PLIST b/games/nethack-x11/PLIST index cd8cd166e1d..b1f2507eaa1 100644 --- a/games/nethack-x11/PLIST +++ b/games/nethack-x11/PLIST @@ -1,3 +1,6 @@ -@comment $NetBSD: PLIST,v 1.2 2002/03/25 20:32:29 pooka Exp $ +@comment $NetBSD: PLIST,v 1.3 2005/05/08 10:17:30 pooka Exp $ bin/nethack-x11 share/nethackdir340/x11tiles +share/nethackdir340/nethack.x11.rc +lib/X11/app-defaults/NetHack +lib/X11/fonts/misc/nh10.bdf |