summaryrefslogtreecommitdiff
path: root/games/nethack-x11
diff options
context:
space:
mode:
authorpooka <pooka>2000-11-27 22:31:03 +0000
committerpooka <pooka>2000-11-27 22:31:03 +0000
commit0e412bcf1a54076bfb5f5fb095febc01291c62ed (patch)
treeb49bc2cecf0ef779c3d5b91b506d28c977d71af1 /games/nethack-x11
parent338c65f72502cde8a999cdbaa8c06dc25c5311d7 (diff)
downloadpkgsrc-0e412bcf1a54076bfb5f5fb095febc01291c62ed.tar.gz
Install x11tiles the proper way for nethack-x11. This fixes the problem
of nethack-x11 not having `pretty' graphics reported by Julian Coleman on tech-pkg
Diffstat (limited to 'games/nethack-x11')
-rw-r--r--games/nethack-x11/Makefile7
-rw-r--r--games/nethack-x11/pkg/PLIST3
2 files changed, 7 insertions, 3 deletions
diff --git a/games/nethack-x11/Makefile b/games/nethack-x11/Makefile
index b9cb2e66097..e5a82d63034 100644
--- a/games/nethack-x11/Makefile
+++ b/games/nethack-x11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2000/08/23 23:14:26 tron Exp $
+# $NetBSD: Makefile,v 1.10 2000/11/27 22:31:04 pooka Exp $
#
.include "../nethack-lib/Makefile.common"
@@ -11,11 +11,14 @@ DEPENDS+= nethack-lib-${NETHACK_VERSION}:../nethack-lib
USE_X11= YES
USE_XPM= YES
-ALL_TARGET= nethack
+ALL_TARGET= x11tiles nethack
INSTALL_TARGET= binfiles
MAKE_ENV+= GTYPE=-x11
PATCHFILES+= ${PKGSRCDIR}/games/nethack-lib/patches/patch-*
ALLFILES= ${DISTFILES} # don't checksum shared patches
+post-install:
+ @${INSTALL_DATA} ${WRKSRC}/dat/x11tiles ${PREFIX}/share/nethackdir
+
.include "../../mk/bsd.pkg.mk"
diff --git a/games/nethack-x11/pkg/PLIST b/games/nethack-x11/pkg/PLIST
index 8793aa1604e..83cb7db3662 100644
--- a/games/nethack-x11/pkg/PLIST
+++ b/games/nethack-x11/pkg/PLIST
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 1998/08/27 13:15:02 garbled Exp $
+@comment $NetBSD: PLIST,v 1.2 2000/11/27 22:31:04 pooka Exp $
bin/nethack-x11
+share/nethackdir/x11tiles