pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/nethack-x11 * install the nethack nh10 font



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea2e3a776c60
branches:  trunk
changeset: 493517:ea2e3a776c60
user:      pooka <pooka%pkgsrc.org@localhost>
date:      Sun May 08 10:17:30 2005 +0000

description:
* install the nethack nh10 font
* install some x11 resources examples files
from from Sergey Svishchev in PR pkg/21753

diffstat:

 games/nethack-x11/MESSAGE  |  16 ++++++++++++++--
 games/nethack-x11/Makefile |   9 ++++++++-
 games/nethack-x11/PLIST    |   5 ++++-
 3 files changed, 26 insertions(+), 4 deletions(-)

diffs (61 lines):

diff -r 6bd40c545db5 -r ea2e3a776c60 games/nethack-x11/MESSAGE
--- a/games/nethack-x11/MESSAGE Sun May 08 09:51:59 2005 +0000
+++ b/games/nethack-x11/MESSAGE Sun May 08 10:17:30 2005 +0000
@@ -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".
+
+A custom NetHack font was installed.  You must add
+${PREFIX}/lib/X11/fonts/misc to fontpath and set 
 
-You can run the X11 NetHack by typing "nethack x11"
+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 -r 6bd40c545db5 -r ea2e3a776c60 games/nethack-x11/Makefile
--- a/games/nethack-x11/Makefile        Sun May 08 09:51:59 2005 +0000
+++ b/games/nethack-x11/Makefile        Sun May 08 10:17:30 2005 +0000
@@ -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 @@
 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 -r 6bd40c545db5 -r ea2e3a776c60 games/nethack-x11/PLIST
--- a/games/nethack-x11/PLIST   Sun May 08 09:51:59 2005 +0000
+++ b/games/nethack-x11/PLIST   Sun May 08 10:17:30 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index