summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>2000-08-09 17:34:16 +0000
committercpiazza <cpiazza@FreeBSD.org>2000-08-09 17:34:16 +0000
commit6d92cfd24b17f746920e51ee3aed796493a62a8b (patch)
tree095a9eb9b5079ec663e7c28431e8eb1dd115681a /games
parent43c7c270a886c1642d2387246b99a2d50de3de14 (diff)
downloadFreeBSD-ports-6d92cfd24b17f746920e51ee3aed796493a62a8b.zip
FreeBSD-ports-6d92cfd24b17f746920e51ee3aed796493a62a8b.tar.gz
Add zangband.
ZAngband is one of the many variants of the freeware rogue-like roleplaying game Angband. PR: 20133 Submitted by: Makoto YAMAKURA <makoto@pinpott.spnet.ne.jp>
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/zangband/Makefile95
-rw-r--r--games/zangband/distinfo2
-rw-r--r--games/zangband/files/MESSAGE.in15
-rw-r--r--games/zangband/files/Makefile.in12
-rw-r--r--games/zangband/files/makefile-adjust.patch13
-rw-r--r--games/zangband/files/patch-aa37
-rw-r--r--games/zangband/files/patch-ab11
-rw-r--r--games/zangband/pkg-comment1
-rw-r--r--games/zangband/pkg-descr4
-rw-r--r--games/zangband/pkg-plist.a188
-rw-r--r--games/zangband/pkg-plist.b23
-rw-r--r--games/zangband/pkg-plist.ja97
13 files changed, 499 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 154dec4..c8009d9 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -283,6 +283,7 @@
SUBDIR += xzip
SUBDIR += yahtzee
SUBDIR += yamsweeper
+ SUBDIR += zangband
SUBDIR += znibbles
SUBDIR += ztrack
diff --git a/games/zangband/Makefile b/games/zangband/Makefile
new file mode 100644
index 0000000..05a1d74
--- /dev/null
+++ b/games/zangband/Makefile
@@ -0,0 +1,95 @@
+# New ports collection makefile for: zangband
+# Date created: 29 May 2000
+# Whom: Makoto YAMAKURA <makoto@pinpott.spnet.ne.jp>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zangband
+PORTVERSION= 2.2.8${JP_VERSION}
+CATEGORIES+= games
+MASTER_SITES= ftp://export.andrew.cmu.edu/angband/Variant/ \
+ ftp://ftp.sunet.se/pub/games/Angband/Variant/ \
+ http://www.geocities.co.jp/SiliconValley-SanJose/9606/zg/
+DISTFILES= zangband-${E_VERSION:S/./-/g}-src.zip
+.if defined(JAPANESE)
+DISTFILES+= zj${E_VERSION:S/.//g}ux-${PATCH_VERSION}.tgz
+.endif
+DIST_SUBDIR= zangband
+EXTRACT_ONLY= zangband-${E_VERSION:S/./-/g}-src.zip
+
+MAINTAINER= makoto@pinpott.spnet.ne.jp
+
+USE_ZIP= yes
+EXTRACT_BEFORE_ARGS= -qa
+USE_XLIB= yes
+
+NO_CDROM= Possible copyright infringement
+
+PKGDIR?= ${.CURDIR}/pkg
+WRKSRC= ${WRKDIR}/ZAngband
+PKGMESSAGE= ${WRKDIR}/MESSAGE
+PLIST= ${WRKDIR}/PLIST
+PLIST_SUB+= ANGBANDBIN=${ANGBANDBIN} ANGBANDLIB=${ANGBANDLIB}
+
+SHAREOWN= games
+SHAREGRP= games
+BINOWN= games
+BINGRP= games
+BINMODE= 2755
+
+MAKE_ARGS+= ANGBANDLIB=${PREFIX}/${ANGBANDLIB}
+.if !defined(JAPANESE)
+ANGBANDLIB?= lib/zangband
+ANGBANDBIN?= bin/zangband
+.else
+ANGBANDLIB?= lib/jzangband
+ANGBANDBIN?= bin/jzangband
+.endif
+
+E_VERSION= ${PORTVERSION:S/${JP_VERSION}//}
+.if defined(JAPANESE)
+PATCH_VERSION= 000714
+JP_VERSION= .j${PATCH_VERSION}
+PLIST_ADD= ${PKGDIR}/PLIST.ja
+MAKE_ARGS+= JAPANESE_CFLAGS="-DJP -DEUC -DJP_ARTDESC"
+.endif
+
+pre-patch:
+.if defined(JAPANESE)
+ (cd ${WRKSRC} ; ${TAR} zxf ${DISTDIR}/${DIST_SUBDIR}/zj${E_VERSION:S/.//g}ux-${PATCH_VERSION}.tgz)
+ (cd ${WRKSRC}/src ; ${PATCH} -p1 -l -s < ../zj${E_VERSION:S/.//g}.patch ; ${PATCH} -p1 -l -s < ${FILESDIR}/makefile-adjust.patch)
+.endif
+ ${CP} ${FILESDIR}/Makefile.in ${WRKSRC}/Makefile
+ ${CP} ${WRKSRC}/src/makefile.std ${WRKSRC}/src/Makefile
+ @${SED} -e "s|%%PREFIX%%|${PREFIX}|g;s|%%ANGBANDBIN%%|${ANGBANDBIN}|g;s|%%ANGBANDLIB%%|${ANGBANDLIB}|g" ${FILESDIR}/MESSAGE.in > ${PKGMESSAGE}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/testing ${PREFIX}/${ANGBANDBIN}
+ ${MKDIR} ${PREFIX}/${ANGBANDLIB}
+ ${CP} -rp ${WRKSRC}/lib/* ${PREFIX}/${ANGBANDLIB}
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKSRC}/lib
+.if defined(USE_Z_SCORES)
+ test -f ${PREFIX}/${ANGBANDLIB}/apex/scores.raw || \
+ ${CP} ${PREFIX}/${ANGBANDLIB}/apex/z_scores.raw \
+ ${ANGBANDLIB}/apex/scores.raw
+.else
+ test -f ${PREFIX}/${ANGBANDLIB}/apex/scores.raw || \
+ ${TOUCH} ${PREFIX}/${ANGBANDLIB}/apex/scores.raw
+.endif
+ (cd ${PREFIX}/${ANGBANDLIB} && \
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} apex data ; \
+ ${CHMOD} 755 . ; \
+ ${CHMOD} -R ug+rw,o-rw * ; \
+ ${CHMOD} -R o+r help xtra ; \
+ ${CHMOD} 1777 save user \
+ )
+ @${CAT} ${PKGMESSAGE}
+
+post-build:
+ @${RM} -f ${PLIST}
+.for i in ${PKGDIR}/PLIST.a ${PLIST_ADD} ${PKGDIR}/PLIST.b
+ @${CAT} ${i} >> ${PLIST}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/games/zangband/distinfo b/games/zangband/distinfo
new file mode 100644
index 0000000..d0fd68f
--- /dev/null
+++ b/games/zangband/distinfo
@@ -0,0 +1,2 @@
+MD5 (zangband/zangband-2-2-8-src.zip) = 91fe586331686cf28b844adfaf22a362
+MD5 (zangband/zj228ux-000714.tgz) = c778eae7f4719d374067436643521ab8
diff --git a/games/zangband/files/MESSAGE.in b/games/zangband/files/MESSAGE.in
new file mode 100644
index 0000000..b9dfd64
--- /dev/null
+++ b/games/zangband/files/MESSAGE.in
@@ -0,0 +1,15 @@
+ ============================================================================
+ To reduce the number of term windows opened, use -n:
+ %%PREFIX%%/%%ANGBANDBIN%% -- -n2
+
+ The binary will changed its owner to 'games:games' and added SETGID bit.
+ Then players can record their score to public score files.
+ You can set fonts by using environment variables such as ANGBAND_X11_FONT,
+ ANGBAND_X11_FONT_1 (the number represents sub-window id),
+ ANGBAND_X11_KFONT (for kanji support), etc.
+
+ WARNING!
+ You now have the following world-writable (mode 1777) directories:
+ %%PREFIX%%/%%ANGBANDLIB%%/save
+ %%PREFIX%%/%%ANGBANDLIB%%/user
+ ============================================================================
diff --git a/games/zangband/files/Makefile.in b/games/zangband/files/Makefile.in
new file mode 100644
index 0000000..9034917
--- /dev/null
+++ b/games/zangband/files/Makefile.in
@@ -0,0 +1,12 @@
+# My makefile for Angband
+# Matthew Hunt <mph@FreeBSD.org>
+
+ANGBANDLIB?= /usr/local/lib/angband
+
+all: testing
+
+testing:
+ cd src && make "EXTRA_CFLAGS=-I${X11BASE}/include ${JAPANESE_CFLAGS} -DDEFAULT_PATH=\\\"${ANGBANDLIB}\\\""
+
+test: testing
+ ANGBAND_PATH=./lib ./testing
diff --git a/games/zangband/files/makefile-adjust.patch b/games/zangband/files/makefile-adjust.patch
new file mode 100644
index 0000000..7476aba
--- /dev/null
+++ b/games/zangband/files/makefile-adjust.patch
@@ -0,0 +1,13 @@
+--- /home/makoto/ports/japanese/zangband/work/ZAngband/src/makefile.std Sat Jul 22 21:37:07 2000
++++ src/makefile.std Sat Jul 22 21:30:29 2000
+@@ -127,8 +127,8 @@
+ #CFLAGS = -Wall -O1 -pipe -g -D"USE_X11" -D"USE_GCU"
+ #LIBS = -lX11 -lcurses -ltermcap
+
+-CFLAGS = -Wall -O2 -m486 -pipe -g -D"USE_X11" -D"JP" -D"EUC" -D"JP_ARTDESC" -D"USE_GCU"
+-LIBS = -L/usr/X11R6/lib -lXaw -lXext -lSM -lICE -lXmu -lXt -lX11 -lcurses
++CFLAGS = -Wall -O2 -m486 -pipe -g -D"USE_XAW" -D"USE_GCU"
++LIBS = -L/usr/X11R6/lib -lXaw -lXext -lSM -lICE -lXmu -lXt -lX11 -lcurses
+
+
+ ##
diff --git a/games/zangband/files/patch-aa b/games/zangband/files/patch-aa
new file mode 100644
index 0000000..3085add
--- /dev/null
+++ b/games/zangband/files/patch-aa
@@ -0,0 +1,37 @@
+--- src/Makefile.orig Wed Aug 9 11:32:26 2000
++++ src/Makefile Wed Aug 9 11:32:43 2000
+@@ -103,7 +103,7 @@
+ #
+ # This is my compiler of choice, it seems to work most everywhere
+ #
+-CC = gcc
++CC ?= gcc
+
+
+ #
+@@ -127,8 +127,8 @@
+ #CFLAGS = -Wall -O1 -pipe -g -D"USE_X11" -D"USE_GCU"
+ #LIBS = -lX11 -lcurses -ltermcap
+
+-CFLAGS = -Wall -O2 -m486 -pipe -g -D"USE_XAW" -D"USE_GCU"
+-LIBS = -L/usr/X11R6/lib -lXaw -lXext -lSM -lICE -lXmu -lXt -lX11 -lcurses
++#CFLAGS = -Wall -O2 -m486 -pipe -g -D"USE_XAW" -D"USE_GCU"
++#LIBS = -L/usr/X11R6/lib -lXaw -lXext -lSM -lICE -lXmu -lXt -lX11 -lcurses
+
+
+ ##
+@@ -228,6 +228,14 @@
+ ##
+ #CFLAGS = -Wall -O1 -pipe -g -D"USE_GCU" -arch m68k -arch i386
+ #LIBS = -lcurses -ltermcap
++
++
++
++##
++## Variation -- Compile for FreeBSD
++##
++CFLAGS += -D"USE_X11" -D"USE_GCU" ${EXTRA_CFLAGS}
++LIBS = -L${X11BASE}/lib -lXaw -lXext -lSM -lICE -lXmu -lXt -lX11 -lcurses
+
+
+
diff --git a/games/zangband/files/patch-ab b/games/zangband/files/patch-ab
new file mode 100644
index 0000000..9f38436
--- /dev/null
+++ b/games/zangband/files/patch-ab
@@ -0,0 +1,11 @@
+--- src/z-config.h.orig Wed Feb 11 05:30:28 1998
++++ src/z-config.h Sat Sep 18 18:20:32 1999
+@@ -52,7 +52,7 @@
+ /*
+ * OPTION: Use the POSIX "termios" methods in "main-gcu.c"
+ */
+-/* #define USE_TPOSIX */
++#define USE_TPOSIX
+
+ /*
+ * OPTION: Use the "termio" methods in "main-gcu.c"
diff --git a/games/zangband/pkg-comment b/games/zangband/pkg-comment
new file mode 100644
index 0000000..e405dae
--- /dev/null
+++ b/games/zangband/pkg-comment
@@ -0,0 +1 @@
+Zangband (Zelazny Angband) with color, X11 support
diff --git a/games/zangband/pkg-descr b/games/zangband/pkg-descr
new file mode 100644
index 0000000..927d225
--- /dev/null
+++ b/games/zangband/pkg-descr
@@ -0,0 +1,4 @@
+ZAngband is one of the many variants of the freeware rogue-like computer
+roleplaying game Angband.
+
+WWW: http://thangorodrim.angband.org/
diff --git a/games/zangband/pkg-plist.a b/games/zangband/pkg-plist.a
new file mode 100644
index 0000000..30c0616
--- /dev/null
+++ b/games/zangband/pkg-plist.a
@@ -0,0 +1,188 @@
+@owner games
+@group games
+@mode 664
+%%ANGBANDBIN%%
+@exec chmod 2755 %D/%%ANGBANDBIN%%
+@unexec rm -f %D/%%ANGBANDLIB%%/data/*
+@unexec cmp -s %D/%%ANGBANDLIB%%/apex/scores.raw %D/%%ANGBANDLIB%%/apex/z_scores.raw && rm %D/%%ANGBANDLIB%%/apex/scores.raw || true
+@unexec cmp -s %D/%%ANGBANDLIB%%/apex/scores.raw /dev/null && rm %D/%%ANGBANDLIB%%/apex/scores.raw || true
+%%ANGBANDLIB%%/apex/readme.txt
+%%ANGBANDLIB%%/apex/z_scores.raw
+@exec test -f %D/%%ANGBANDLIB%%/apex/scores.raw || touch %D/%%ANGBANDLIB%%/apex/scores.raw
+%%ANGBANDLIB%%/bone/delete.me
+%%ANGBANDLIB%%/edit/a_info.txt
+%%ANGBANDLIB%%/edit/e_info.txt
+%%ANGBANDLIB%%/edit/f_info.txt
+%%ANGBANDLIB%%/edit/k_info.txt
+%%ANGBANDLIB%%/edit/misc.txt
+%%ANGBANDLIB%%/edit/q0000001.txt
+%%ANGBANDLIB%%/edit/q0000002.txt
+%%ANGBANDLIB%%/edit/q0000003.txt
+%%ANGBANDLIB%%/edit/q0000004.txt
+%%ANGBANDLIB%%/edit/q0000005.txt
+%%ANGBANDLIB%%/edit/q0000006.txt
+%%ANGBANDLIB%%/edit/q0000007.txt
+%%ANGBANDLIB%%/edit/q0000019.txt
+%%ANGBANDLIB%%/edit/q0000020.txt
+%%ANGBANDLIB%%/edit/q0000021.txt
+%%ANGBANDLIB%%/edit/q0000022.txt
+%%ANGBANDLIB%%/edit/q0000023.txt
+%%ANGBANDLIB%%/edit/q0000027.txt
+%%ANGBANDLIB%%/edit/q0000028.txt
+%%ANGBANDLIB%%/edit/q00000ms.txt
+%%ANGBANDLIB%%/edit/q000chao.txt
+%%ANGBANDLIB%%/edit/q000dekn.txt
+%%ANGBANDLIB%%/edit/q000eric.txt
+%%ANGBANDLIB%%/edit/q000lyeh.txt
+%%ANGBANDLIB%%/edit/q000natu.txt
+%%ANGBANDLIB%%/edit/q000sorc.txt
+%%ANGBANDLIB%%/edit/q00water.txt
+%%ANGBANDLIB%%/edit/q0clone0.txt
+%%ANGBANDLIB%%/edit/q0fields.txt
+%%ANGBANDLIB%%/edit/q0thief1.txt
+%%ANGBANDLIB%%/edit/q0thief2.txt
+%%ANGBANDLIB%%/edit/q0willow.txt
+%%ANGBANDLIB%%/edit/q_info.txt
+%%ANGBANDLIB%%/edit/q_oberon.txt
+%%ANGBANDLIB%%/edit/q_pref.txt
+%%ANGBANDLIB%%/edit/q_random.txt
+%%ANGBANDLIB%%/edit/q_serpen.txt
+%%ANGBANDLIB%%/edit/q_warg.txt
+%%ANGBANDLIB%%/edit/qdarkelf.txt
+%%ANGBANDLIB%%/edit/qhaunted.txt
+%%ANGBANDLIB%%/edit/r_info.txt
+%%ANGBANDLIB%%/edit/t0000001.txt
+%%ANGBANDLIB%%/edit/t0000002.txt
+%%ANGBANDLIB%%/edit/t0000003.txt
+%%ANGBANDLIB%%/edit/t0000004.txt
+%%ANGBANDLIB%%/edit/t0000005.txt
+%%ANGBANDLIB%%/edit/t_basic.txt
+%%ANGBANDLIB%%/edit/t_info.txt
+%%ANGBANDLIB%%/edit/t_lite.txt
+%%ANGBANDLIB%%/edit/t_pref.txt
+%%ANGBANDLIB%%/edit/v_info.txt
+%%ANGBANDLIB%%/edit/w_info.txt
+%%ANGBANDLIB%%/file/a_cursed.txt
+%%ANGBANDLIB%%/file/a_high.txt
+%%ANGBANDLIB%%/file/a_low.txt
+%%ANGBANDLIB%%/file/a_med.txt
+%%ANGBANDLIB%%/file/chainswd.txt
+%%ANGBANDLIB%%/file/crime.txt
+%%ANGBANDLIB%%/file/dead.txt
+%%ANGBANDLIB%%/file/death.txt
+%%ANGBANDLIB%%/file/elvish.txt
+%%ANGBANDLIB%%/file/error.txt
+%%ANGBANDLIB%%/file/mondeath.txt
+%%ANGBANDLIB%%/file/monfear.txt
+%%ANGBANDLIB%%/file/monfrien.txt
+%%ANGBANDLIB%%/file/monspeak.txt
+%%ANGBANDLIB%%/file/news.txt
+%%ANGBANDLIB%%/file/readme.txt
+%%ANGBANDLIB%%/file/rumors.txt
+%%ANGBANDLIB%%/file/sample.txt
+%%ANGBANDLIB%%/file/silly.txt
+%%ANGBANDLIB%%/file/timefun.txt
+%%ANGBANDLIB%%/file/timenorm.txt
+%%ANGBANDLIB%%/file/w_cursed.txt
+%%ANGBANDLIB%%/file/w_high.txt
+%%ANGBANDLIB%%/file/w_low.txt
+%%ANGBANDLIB%%/file/w_med.txt
+%%ANGBANDLIB%%/help/arena.txt
+%%ANGBANDLIB%%/help/attack.hlp
+%%ANGBANDLIB%%/help/attack.txt
+%%ANGBANDLIB%%/help/birth.hlp
+%%ANGBANDLIB%%/help/birth.txt
+%%ANGBANDLIB%%/help/bldg.txt
+%%ANGBANDLIB%%/help/command.hlp
+%%ANGBANDLIB%%/help/command.txt
+%%ANGBANDLIB%%/help/commdesc.hlp
+%%ANGBANDLIB%%/help/commdesc.txt
+%%ANGBANDLIB%%/help/dungeon.hlp
+%%ANGBANDLIB%%/help/dungeon.txt
+%%ANGBANDLIB%%/help/gambling.txt
+%%ANGBANDLIB%%/help/general.hlp
+%%ANGBANDLIB%%/help/general.txt
+%%ANGBANDLIB%%/help/help.hlp
+%%ANGBANDLIB%%/help/helpinfo.txt
+%%ANGBANDLIB%%/help/magic.hlp
+%%ANGBANDLIB%%/help/magic.txt
+%%ANGBANDLIB%%/help/option.hlp
+%%ANGBANDLIB%%/help/option.txt
+%%ANGBANDLIB%%/help/pref.hlp
+%%ANGBANDLIB%%/help/pref.txt
+%%ANGBANDLIB%%/help/readme.txt
+%%ANGBANDLIB%%/help/spoiler.hlp
+%%ANGBANDLIB%%/help/tang.txt
+%%ANGBANDLIB%%/help/version.txt
+%%ANGBANDLIB%%/info/delete.me
+%%ANGBANDLIB%%/pref/delete.me
+%%ANGBANDLIB%%/save/delete.me
+%%ANGBANDLIB%%/script/delete.me
+%%ANGBANDLIB%%/user/colors.prf
+%%ANGBANDLIB%%/user/font-ami.prf
+%%ANGBANDLIB%%/user/font-dos.prf
+%%ANGBANDLIB%%/user/font-ibm.prf
+%%ANGBANDLIB%%/user/font-mac.prf
+%%ANGBANDLIB%%/user/font-mon.prf
+%%ANGBANDLIB%%/user/font-win.prf
+%%ANGBANDLIB%%/user/font-x11.prf
+%%ANGBANDLIB%%/user/font-xxx.prf
+%%ANGBANDLIB%%/user/font.prf
+%%ANGBANDLIB%%/user/graf-ami.prf
+%%ANGBANDLIB%%/user/graf-dos.prf
+%%ANGBANDLIB%%/user/graf-gcu.prf
+%%ANGBANDLIB%%/user/graf-ibm.prf
+%%ANGBANDLIB%%/user/graf-mac.prf
+%%ANGBANDLIB%%/user/graf-new.prf
+%%ANGBANDLIB%%/user/graf-win.prf
+%%ANGBANDLIB%%/user/graf-x11.prf
+%%ANGBANDLIB%%/user/graf-xaw.prf
+%%ANGBANDLIB%%/user/graf-xxx.prf
+%%ANGBANDLIB%%/user/graf.prf
+%%ANGBANDLIB%%/user/pref-acn.prf
+%%ANGBANDLIB%%/user/pref-ami.prf
+%%ANGBANDLIB%%/user/pref-emx.prf
+%%ANGBANDLIB%%/user/pref-gcu.prf
+%%ANGBANDLIB%%/user/pref-key.prf
+%%ANGBANDLIB%%/user/pref-mac.prf
+%%ANGBANDLIB%%/user/pref-opt.prf
+%%ANGBANDLIB%%/user/pref-win.prf
+%%ANGBANDLIB%%/user/pref-x11.prf
+%%ANGBANDLIB%%/user/pref.prf
+%%ANGBANDLIB%%/user/spell-xx.prf
+%%ANGBANDLIB%%/user/user-win.prf
+%%ANGBANDLIB%%/user/user.prf
+%%ANGBANDLIB%%/user/xtra-gcu.prf
+%%ANGBANDLIB%%/user/xtra-new.prf
+%%ANGBANDLIB%%/user/xtra-xxx.prf
+%%ANGBANDLIB%%/xtra/font/10X20.FON
+%%ANGBANDLIB%%/xtra/font/12X24.FON
+%%ANGBANDLIB%%/xtra/font/5X8.FON
+%%ANGBANDLIB%%/xtra/font/6X10.FON
+%%ANGBANDLIB%%/xtra/font/6X12.FON
+%%ANGBANDLIB%%/xtra/font/6X13.FON
+%%ANGBANDLIB%%/xtra/font/6X13B.FON
+%%ANGBANDLIB%%/xtra/font/6X9.FON
+%%ANGBANDLIB%%/xtra/font/7X13.FON
+%%ANGBANDLIB%%/xtra/font/7X13B.FON
+%%ANGBANDLIB%%/xtra/font/8X13.FON
+%%ANGBANDLIB%%/xtra/font/8X13B.FON
+%%ANGBANDLIB%%/xtra/font/9X15.FON
+%%ANGBANDLIB%%/xtra/font/9X15B.FON
+%%ANGBANDLIB%%/xtra/font/xm10x17.fnt
+%%ANGBANDLIB%%/xtra/font/xm10x17b.fnt
+%%ANGBANDLIB%%/xtra/font/xm12x20.fnt
+%%ANGBANDLIB%%/xtra/font/xm12x20b.fnt
+%%ANGBANDLIB%%/xtra/font/xm16x25.fnt
+%%ANGBANDLIB%%/xtra/font/xm16x25b.fnt
+%%ANGBANDLIB%%/xtra/font/xm4x6.fnt
+%%ANGBANDLIB%%/xtra/font/xm5x8.fnt
+%%ANGBANDLIB%%/xtra/font/xm6x12.fnt
+%%ANGBANDLIB%%/xtra/font/xm6x12b.fnt
+%%ANGBANDLIB%%/xtra/font/xm8x13.fnt
+%%ANGBANDLIB%%/xtra/font/xm8x13b.fnt
+%%ANGBANDLIB%%/xtra/font/xm8x16.fnt
+%%ANGBANDLIB%%/xtra/font/xm8x16b.fnt
+%%ANGBANDLIB%%/xtra/graf/readme.txt
+%%ANGBANDLIB%%/xtra/music/delete.me
+%%ANGBANDLIB%%/xtra/sound/sound.cfg
diff --git a/games/zangband/pkg-plist.b b/games/zangband/pkg-plist.b
new file mode 100644
index 0000000..e4a622b
--- /dev/null
+++ b/games/zangband/pkg-plist.b
@@ -0,0 +1,23 @@
+@exec mkdir %D/%%ANGBANDLIB%%/data
+@exec chown -R games:games %D/%%ANGBANDLIB%%/apex %D/%%ANGBANDLIB%%/data
+@exec chmod 775 %D/%%ANGBANDLIB%%
+@exec chmod -R ug+rw,o-rw %D/%%ANGBANDLIB%%/*
+@exec chmod -R o+r %D/%%ANGBANDLIB%%/help %D/%%ANGBANDLIB%%/xtra
+@exec chmod 1777 %D/%%ANGBANDLIB%%/save %D/%%ANGBANDLIB%%/user
+@dirrm %%ANGBANDLIB%%/apex
+@dirrm %%ANGBANDLIB%%/bone
+@dirrm %%ANGBANDLIB%%/data
+@dirrm %%ANGBANDLIB%%/edit
+@dirrm %%ANGBANDLIB%%/file
+@dirrm %%ANGBANDLIB%%/help
+@dirrm %%ANGBANDLIB%%/info
+@dirrm %%ANGBANDLIB%%/pref
+@dirrm %%ANGBANDLIB%%/save
+@dirrm %%ANGBANDLIB%%/script
+@dirrm %%ANGBANDLIB%%/user
+@dirrm %%ANGBANDLIB%%/xtra/font
+@dirrm %%ANGBANDLIB%%/xtra/graf
+@dirrm %%ANGBANDLIB%%/xtra/music
+@dirrm %%ANGBANDLIB%%/xtra/sound
+@dirrm %%ANGBANDLIB%%/xtra
+@dirrm %%ANGBANDLIB%%
diff --git a/games/zangband/pkg-plist.ja b/games/zangband/pkg-plist.ja
new file mode 100644
index 0000000..8a99505
--- /dev/null
+++ b/games/zangband/pkg-plist.ja
@@ -0,0 +1,97 @@
+%%ANGBANDLIB%%/edit/a_info_j.txt
+%%ANGBANDLIB%%/edit/e_info_j.txt
+%%ANGBANDLIB%%/edit/f_info_j.txt
+%%ANGBANDLIB%%/edit/k_info_j.txt
+%%ANGBANDLIB%%/edit/misc_j.txt
+%%ANGBANDLIB%%/edit/q0000001_j.txt
+%%ANGBANDLIB%%/edit/q0000002_j.txt
+%%ANGBANDLIB%%/edit/q0000003_j.txt
+%%ANGBANDLIB%%/edit/q0000004_j.txt
+%%ANGBANDLIB%%/edit/q0000005_j.txt
+%%ANGBANDLIB%%/edit/q0000006_j.txt
+%%ANGBANDLIB%%/edit/q0000007_j.txt
+%%ANGBANDLIB%%/edit/q0000019_j.txt
+%%ANGBANDLIB%%/edit/q0000020_j.txt
+%%ANGBANDLIB%%/edit/q0000021_j.txt
+%%ANGBANDLIB%%/edit/q0000022_j.txt
+%%ANGBANDLIB%%/edit/q0000023_j.txt
+%%ANGBANDLIB%%/edit/q0000027_j.txt
+%%ANGBANDLIB%%/edit/q0000028_j.txt
+%%ANGBANDLIB%%/edit/q00000ms_j.txt
+%%ANGBANDLIB%%/edit/q000chao_j.txt
+%%ANGBANDLIB%%/edit/q000dekn_j.txt
+%%ANGBANDLIB%%/edit/q000eric_j.txt
+%%ANGBANDLIB%%/edit/q000lyeh_j.txt
+%%ANGBANDLIB%%/edit/q000natu_j.txt
+%%ANGBANDLIB%%/edit/q000sorc_j.txt
+%%ANGBANDLIB%%/edit/q00water_j.txt
+%%ANGBANDLIB%%/edit/q0clone0_j.txt
+%%ANGBANDLIB%%/edit/q0fields_j.txt
+%%ANGBANDLIB%%/edit/q0thief1_j.txt
+%%ANGBANDLIB%%/edit/q0thief2_j.txt
+%%ANGBANDLIB%%/edit/q0willow_j.txt
+%%ANGBANDLIB%%/edit/q_avenge_j.txt
+%%ANGBANDLIB%%/edit/q_info_j.txt
+%%ANGBANDLIB%%/edit/q_oberon_j.txt
+%%ANGBANDLIB%%/edit/q_pref_j.txt
+%%ANGBANDLIB%%/edit/q_random_j.txt
+%%ANGBANDLIB%%/edit/q_serpen_j.txt
+%%ANGBANDLIB%%/edit/q_warg_j.txt
+%%ANGBANDLIB%%/edit/qdarkelf_j.txt
+%%ANGBANDLIB%%/edit/qhaunted_j.txt
+%%ANGBANDLIB%%/edit/r_info_j.txt
+%%ANGBANDLIB%%/edit/t0000001_j.txt
+%%ANGBANDLIB%%/edit/t0000002_j.txt
+%%ANGBANDLIB%%/edit/t0000003_j.txt
+%%ANGBANDLIB%%/edit/t0000004_j.txt
+%%ANGBANDLIB%%/edit/t0000005_j.txt
+%%ANGBANDLIB%%/edit/t_basic_j.txt
+%%ANGBANDLIB%%/edit/t_info_j.txt
+%%ANGBANDLIB%%/edit/t_lite_j.txt
+%%ANGBANDLIB%%/edit/t_pref_j.txt
+%%ANGBANDLIB%%/edit/v_info_j.txt
+%%ANGBANDLIB%%/edit/w_info_j.txt
+%%ANGBANDLIB%%/file/a_cursed_j.txt
+%%ANGBANDLIB%%/file/a_high_j.txt
+%%ANGBANDLIB%%/file/a_low_j.txt
+%%ANGBANDLIB%%/file/a_med_j.txt
+%%ANGBANDLIB%%/file/aname_j.txt
+%%ANGBANDLIB%%/file/chainswd_j.txt
+%%ANGBANDLIB%%/file/crime_j.txt
+%%ANGBANDLIB%%/file/dead_j.txt
+%%ANGBANDLIB%%/file/death_j.txt
+%%ANGBANDLIB%%/file/elvish_j.txt
+%%ANGBANDLIB%%/file/error_j.txt
+%%ANGBANDLIB%%/file/mondeath_j.txt
+%%ANGBANDLIB%%/file/monfear_j.txt
+%%ANGBANDLIB%%/file/monfrien_j.txt
+%%ANGBANDLIB%%/file/monspeak_j.txt
+%%ANGBANDLIB%%/file/news_j.txt
+%%ANGBANDLIB%%/file/rumors_j.txt
+%%ANGBANDLIB%%/file/silly_j.txt
+%%ANGBANDLIB%%/file/timefun_j.txt
+%%ANGBANDLIB%%/file/timenorm_j.txt
+%%ANGBANDLIB%%/file/w_cursed_j.txt
+%%ANGBANDLIB%%/file/w_high_j.txt
+%%ANGBANDLIB%%/file/w_low_j.txt
+%%ANGBANDLIB%%/file/w_med_j.txt
+%%ANGBANDLIB%%/help/j_name.txt
+%%ANGBANDLIB%%/help/jang_gen.txt
+%%ANGBANDLIB%%/help/japanese.txt
+%%ANGBANDLIB%%/help/jattack.txt
+%%ANGBANDLIB%%/help/jbirth.txt
+%%ANGBANDLIB%%/help/jcommand.hlp
+%%ANGBANDLIB%%/help/jcommand.txt
+%%ANGBANDLIB%%/help/jcommand0.txt
+%%ANGBANDLIB%%/help/jcommdesc.hlp
+%%ANGBANDLIB%%/help/jcommdesc.txt
+%%ANGBANDLIB%%/help/jdungeon.txt
+%%ANGBANDLIB%%/help/jgambling.txt
+%%ANGBANDLIB%%/help/jgeneral.txt
+%%ANGBANDLIB%%/help/jhelp.hlp
+%%ANGBANDLIB%%/help/jhelpinfo.txt
+%%ANGBANDLIB%%/help/joption.hlp
+%%ANGBANDLIB%%/help/joption.txt
+%%ANGBANDLIB%%/help/jplaying.txt
+%%ANGBANDLIB%%/help/jtang.txt
+%%ANGBANDLIB%%/help/jversion.txt
OpenPOWER on IntegriCloud