summaryrefslogtreecommitdiff
path: root/japanese/nethack32/Makefile
diff options
context:
space:
mode:
authorSeiichirou Hiraoka <flathill@FreeBSD.org>1998-11-22 15:40:15 +0000
committerSeiichirou Hiraoka <flathill@FreeBSD.org>1998-11-22 15:40:15 +0000
commit610c5967f253d3111446f7f953c8ec8e4f111f43 (patch)
treeaf564d9cbe102dd967d78924d5021bf757ad7b68 /japanese/nethack32/Makefile
parentAdd x11-wm/fvwm95-i18n. (diff)
Add README how to play on X written in japanese.Fix patches
Notes
Notes: svn path=/head/; revision=14763
Diffstat (limited to 'japanese/nethack32/Makefile')
-rw-r--r--japanese/nethack32/Makefile24
1 files changed, 23 insertions, 1 deletions
diff --git a/japanese/nethack32/Makefile b/japanese/nethack32/Makefile
index d15ad0c2572f..2b060b127c0b 100644
--- a/japanese/nethack32/Makefile
+++ b/japanese/nethack32/Makefile
@@ -3,7 +3,7 @@
# Date created: 13 February 1995
# Whom: asami
#
-# $Id: Makefile,v 1.22 1998/10/16 03:41:49 jseger Exp $
+# $Id: Makefile,v 1.23 1998/11/20 23:38:11 flathill Exp $
#
DISTNAME= nethack-3.2.2
@@ -28,4 +28,26 @@ pre-install:
@cd ${WRKSRC}/doc; chmod 644 *.6
@cd ${WRKSRC}/doc; ${MAKE} PREFIX=${PREFIX} manpages
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/win/X11/nh_icon.xpm ${PREFIX}/lib/jnethackdir
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/ja/nethack
+ ${INSTALL_MAN} ${WRKSRC}/doc/jGuidebook.txt ${PREFIX}/share/doc/ja/nethack
+ ${INSTALL_MAN} ${FILESDIR}/README ${PREFIX}/share/doc/ja/nethack
+.for i in README.j ChangeLog.j INSTALL.j
+ ${INSTALL_MAN} ${WRKSRC}/$i ${PREFIX}/share/doc/ja/nethack
+.endfor
+.endif
+ ${MKDIR} ${PREFIX}/share/examples/ja/nethack
+ ${INSTALL_DATA} ${WRKSRC}/win/X11/nethack.rc ${PREFIX}/share/examples/ja/nethack
+ ${INSTALL_DATA} ${WRKSRC}/win/X11/JNetHack.ad ${PREFIX}/share/examples/ja/nethack
+.for i in ibm nh10
+ ${INSTALL_DATA} ${WRKSRC}/win/X11/$i.bdf ${PREFIX}/share/examples/ja/nethack
+ ${X11BASE}/bin/bdftopcf ${PREFIX}/share/examples/ja/nethack/$i.bdf \
+ > ${PREFIX}/share/examples/ja/nethack/$i.pcf
+ ${RM} ${PREFIX}/share/examples/ja/nethack/$i.bdf
+ ${GZIP_CMD} ${PREFIX}/share/examples/ja/nethack/$i.pcf
+.endfor
+ ${CAT} ${PKGDIR}/MESSAGE
+
.include <bsd.port.mk>