pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/hengband Import hengband-1.6.2 from wip



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a688a371d82
branches:  trunk
changeset: 410548:1a688a371d82
user:      pho <pho%pkgsrc.org@localhost>
date:      Fri Jan 24 13:33:32 2020 +0000

description:
Import hengband-1.6.2 from wip

Hengband is a rogue-like game which is a descendant of Moria and
Angband, and is a direct derivation of Zangband. In order to win the
game by defeating The Serpent of Chaos who lurks in the 100th floor of
the Dungeon of Angband, you need to not only obtain a good set of
gears, but also acquaint yourself with the game.

diffstat:

 games/hengband/DESCR                                   |    5 +
 games/hengband/Makefile                                |   64 ++++
 games/hengband/PLIST                                   |  230 +++++++++++++++++
 games/hengband/distinfo                                |   16 +
 games/hengband/options.mk                              |   39 ++
 games/hengband/patches/patch-lib_Makefile.am           |   13 +
 games/hengband/patches/patch-lib_xtra_graf_Makefile.am |   15 +
 games/hengband/patches/patch-src_Makefile.am           |   16 +
 games/hengband/patches/patch-src_h-type.h              |   47 +++
 games/hengband/patches/patch-src_init2.c               |   38 ++
 games/hengband/patches/patch-src_main-gcu.c            |   25 +
 11 files changed, 508 insertions(+), 0 deletions(-)

diffs (truncated from 552 to 300 lines):

diff -r 40044ce9d889 -r 1a688a371d82 games/hengband/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/hengband/DESCR      Fri Jan 24 13:33:32 2020 +0000
@@ -0,0 +1,5 @@
+Hengband is a rogue-like game which is a descendant of Moria and
+Angband, and is a direct derivation of Zangband. In order to win the
+game by defeating The Serpent of Chaos who lurks in the 100th floor of
+the Dungeon of Angband, you need to not only obtain a good set of
+gears, but also acquaint yourself with the game.
diff -r 40044ce9d889 -r 1a688a371d82 games/hengband/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/hengband/Makefile   Fri Jan 24 13:33:32 2020 +0000
@@ -0,0 +1,64 @@
+# $NetBSD: Makefile,v 1.1 2020/01/24 13:33:32 pho Exp $
+
+DISTNAME=      hengband-1.6.2
+CATEGORIES=    games
+MASTER_SITES=  ${MASTER_SITE_OSDN:=hengband/10331/}
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    pho%cielonegro.org@localhost
+HOMEPAGE=      http://hengband.sourceforge.jp/en/index.html
+COMMENT=       Rogue-like game derived from Zangband
+LICENSE=       gnu-gpl-v2
+
+# Optional 16x16 (large) tile set, only useful for the X11 UI.
+HENGBAND_TILE16=               heng-graf-16x16.tar.gz
+DISTFILES=                     ${DEFAULT_DISTFILES} ${HENGBAND_TILE16}
+SITES.${HENGBAND_TILE16}=      ${MASTER_SITE_OSDN:=hengband/5195/}
+EXTRACT_DIR.${HENGBAND_TILE16}=        ${WRKSRC}/lib/xtra/graf
+
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --with-setgid=${HENGBAND_GROUP}
+CONFIGURE_ARGS+=       --with-libpath=${HENGBAND_LIBDIR}/
+
+HENGBAND_LIBDIR=       ${PREFIX}/libdata/${PKGBASE}
+HENGBAND_VARDIR=       ${VARBASE}/games/${PKGBASE}
+HENGBAND_USER=         ${GAMES_USER}
+HENGBAND_GROUP=                ${GAMES_GROUP}
+BUILD_DEFS+=           VARBASE GAMES_USER GAMES_GROUP
+
+SUBST_CLASSES+=                vardir
+SUBST_STAGE.vardir=    pre-configure
+SUBST_FILES.vardir=    src/init2.c
+SUBST_VARS.vardir=     HENGBAND_VARDIR
+
+SPECIAL_PERMS+=                ${PREFIX}/bin/hengband \
+                       ${HENGBAND_USER} ${HENGBAND_GROUP} 2555
+
+USE_TOOLS+=    automake autoreconf
+pre-configure:
+       ${RUN}cd ${WRKSRC} && autoreconf -i
+
+# Special handling for the score, save, and pref files: we do not want
+# to delete them between package installations and deinstallations.
+# See "readme_angband" for the details of these directories.
+REQD_DIRS_PERMS+=      ${HENGBAND_VARDIR} \
+                       ${HENGBAND_USER} ${HENGBAND_GROUP} 775
+REQD_DIRS_PERMS+=      ${HENGBAND_VARDIR}/apex \
+                       ${HENGBAND_USER} ${HENGBAND_GROUP} 775
+REQD_DIRS_PERMS+=      ${HENGBAND_VARDIR}/bone \
+                       ${HENGBAND_USER} ${HENGBAND_GROUP} 775
+REQD_DIRS_PERMS+=      ${HENGBAND_VARDIR}/data \
+                       ${HENGBAND_USER} ${HENGBAND_GROUP} 775
+REQD_DIRS_PERMS+=      ${HENGBAND_VARDIR}/save \
+                       ${HENGBAND_USER} ${HENGBAND_GROUP} 775
+
+INSTALLATION_DIRS+=    share/doc/${PKGBASE}
+post-install:
+       ${RUN}for f in autopick.txt autopick_eng.txt readme.txt \
+                       readme_angband readme_eng.txt; do \
+               ${INSTALL_DATA} ${WRKSRC}/$${f} \
+                       ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}; \
+       done
+
+.include "options.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 40044ce9d889 -r 1a688a371d82 games/hengband/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/hengband/PLIST      Fri Jan 24 13:33:32 2020 +0000
@@ -0,0 +1,230 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/24 13:33:32 pho Exp $
+bin/hengband
+libdata/hengband/edit/a_info.txt
+libdata/hengband/edit/d_info.txt
+libdata/hengband/edit/e_info.txt
+libdata/hengband/edit/f_info.txt
+libdata/hengband/edit/k_info.txt
+libdata/hengband/edit/m_info.txt
+libdata/hengband/edit/misc.txt
+libdata/hengband/edit/q0000001.txt
+libdata/hengband/edit/q0000002.txt
+libdata/hengband/edit/q0000003.txt
+libdata/hengband/edit/q0000004.txt
+libdata/hengband/edit/q0000005.txt
+libdata/hengband/edit/q0000006.txt
+libdata/hengband/edit/q0000007.txt
+libdata/hengband/edit/q0000019.txt
+libdata/hengband/edit/q0000020.txt
+libdata/hengband/edit/q0000021.txt
+libdata/hengband/edit/q0000022.txt
+libdata/hengband/edit/q0000023.txt
+libdata/hengband/edit/q0000027.txt
+libdata/hengband/edit/q0000028.txt
+libdata/hengband/edit/q00000ms.txt
+libdata/hengband/edit/q000chao.txt
+libdata/hengband/edit/q000dekn.txt
+libdata/hengband/edit/q000eric.txt
+libdata/hengband/edit/q000lyeh.txt
+libdata/hengband/edit/q000natu.txt
+libdata/hengband/edit/q000sorc.txt
+libdata/hengband/edit/q00water.txt
+libdata/hengband/edit/q0clone0.txt
+libdata/hengband/edit/q0fields.txt
+libdata/hengband/edit/q0thief1.txt
+libdata/hengband/edit/q0thief2.txt
+libdata/hengband/edit/q0willow.txt
+libdata/hengband/edit/q_info.txt
+libdata/hengband/edit/q_oberon.txt
+libdata/hengband/edit/q_pref.txt
+libdata/hengband/edit/q_random.txt
+libdata/hengband/edit/q_serpen.txt
+libdata/hengband/edit/q_warg.txt
+libdata/hengband/edit/qdarkelf.txt
+libdata/hengband/edit/qhaunted.txt
+libdata/hengband/edit/r_info.txt
+libdata/hengband/edit/s_info.txt
+libdata/hengband/edit/t0000001.txt
+libdata/hengband/edit/t0000002.txt
+libdata/hengband/edit/t0000003.txt
+libdata/hengband/edit/t0000004.txt
+libdata/hengband/edit/t0000005.txt
+libdata/hengband/edit/t0000006.txt
+libdata/hengband/edit/t_basic.txt
+libdata/hengband/edit/t_info.txt
+libdata/hengband/edit/t_lite.txt
+libdata/hengband/edit/t_pref.txt
+libdata/hengband/edit/v_info.txt
+libdata/hengband/edit/w_info.txt
+libdata/hengband/file/a_cursed.txt
+libdata/hengband/file/a_cursed_j.txt
+libdata/hengband/file/a_high.txt
+libdata/hengband/file/a_high_j.txt
+libdata/hengband/file/a_low.txt
+libdata/hengband/file/a_low_j.txt
+libdata/hengband/file/a_med.txt
+libdata/hengband/file/a_med_j.txt
+libdata/hengband/file/aname_j.txt
+libdata/hengband/file/book-0_jp.txt
+libdata/hengband/file/chainswd.txt
+libdata/hengband/file/chainswd_j.txt
+libdata/hengband/file/dead.txt
+libdata/hengband/file/dead_j.txt
+libdata/hengband/file/death.txt
+libdata/hengband/file/death_j.txt
+libdata/hengband/file/elvish.txt
+libdata/hengband/file/elvish_j.txt
+libdata/hengband/file/error.txt
+libdata/hengband/file/error_j.txt
+libdata/hengband/file/mondeath.txt
+libdata/hengband/file/mondeath_j.txt
+libdata/hengband/file/monfear.txt
+libdata/hengband/file/monfear_j.txt
+libdata/hengband/file/monfrien.txt
+libdata/hengband/file/monfrien_j.txt
+libdata/hengband/file/monspeak.txt
+libdata/hengband/file/monspeak_j.txt
+libdata/hengband/file/news.txt
+libdata/hengband/file/news_j.txt
+libdata/hengband/file/rumors.txt
+libdata/hengband/file/rumors_j.txt
+libdata/hengband/file/seppuku.txt
+libdata/hengband/file/seppuku_j.txt
+libdata/hengband/file/silly.txt
+libdata/hengband/file/silly_j.txt
+libdata/hengband/file/timefun.txt
+libdata/hengband/file/timefun_j.txt
+libdata/hengband/file/timenorm.txt
+libdata/hengband/file/timenorm_j.txt
+libdata/hengband/file/w_cursed.txt
+libdata/hengband/file/w_cursed_j.txt
+libdata/hengband/file/w_high.txt
+libdata/hengband/file/w_high_j.txt
+libdata/hengband/file/w_low.txt
+libdata/hengband/file/w_low_j.txt
+libdata/hengband/file/w_med.txt
+libdata/hengband/file/w_med_j.txt
+libdata/hengband/help/attack.hlp
+libdata/hengband/help/attack.txt
+libdata/hengband/help/birth.hlp
+libdata/hengband/help/birth.txt
+libdata/hengband/help/bldg.txt
+libdata/hengband/help/command.hlp
+libdata/hengband/help/command.txt
+libdata/hengband/help/commdesc.hlp
+libdata/hengband/help/commdesc.txt
+libdata/hengband/help/defend.hlp
+libdata/hengband/help/defend.txt
+libdata/hengband/help/dungeon.hlp
+libdata/hengband/help/dungeon.txt
+libdata/hengband/help/gambling.txt
+libdata/hengband/help/general.hlp
+libdata/hengband/help/general.txt
+libdata/hengband/help/help.hlp
+libdata/hengband/help/helpinfo.txt
+libdata/hengband/help/j_general.txt
+libdata/hengband/help/j_item1.txt
+libdata/hengband/help/j_item2.txt
+libdata/hengband/help/j_trans.txt
+libdata/hengband/help/jattack.hlp
+libdata/hengband/help/jattack.txt
+libdata/hengband/help/jbirth.hlp
+libdata/hengband/help/jbirth.txt
+libdata/hengband/help/jbldg.txt
+libdata/hengband/help/jcommand.hlp
+libdata/hengband/help/jcommand.txt
+libdata/hengband/help/jcommdesc.hlp
+libdata/hengband/help/jcommdesc.txt
+libdata/hengband/help/jdefend.hlp
+libdata/hengband/help/jdefend.txt
+libdata/hengband/help/jdungeon.hlp
+libdata/hengband/help/jdungeon.txt
+libdata/hengband/help/jgambling.txt
+libdata/hengband/help/jgeneral.hlp
+libdata/hengband/help/jgeneral.txt
+libdata/hengband/help/jhelp.hlp
+libdata/hengband/help/jhelpinfo.txt
+libdata/hengband/help/jlicense.txt
+libdata/hengband/help/jmagic.hlp
+libdata/hengband/help/jmagic.txt
+libdata/hengband/help/jmonster.hlp
+libdata/hengband/help/jmonster.txt
+libdata/hengband/help/jobjects.hlp
+libdata/hengband/help/jobjects.txt
+libdata/hengband/help/joption.hlp
+libdata/hengband/help/joption.txt
+libdata/hengband/help/jpref.hlp
+libdata/hengband/help/jpref.txt
+libdata/hengband/help/jraceclas.hlp
+libdata/hengband/help/jraceclas.txt
+libdata/hengband/help/jspecial.hlp
+libdata/hengband/help/jtang.txt
+libdata/hengband/help/jtown.hlp
+libdata/hengband/help/jtown.txt
+libdata/hengband/help/jversion.txt
+libdata/hengband/help/magic.hlp
+libdata/hengband/help/magic.txt
+libdata/hengband/help/monster.hlp
+libdata/hengband/help/monster.txt
+libdata/hengband/help/objects.hlp
+libdata/hengband/help/objects.txt
+libdata/hengband/help/option.hlp
+libdata/hengband/help/option.txt
+libdata/hengband/help/pref.hlp
+libdata/hengband/help/pref.txt
+libdata/hengband/help/raceclas.hlp
+libdata/hengband/help/raceclas.txt
+libdata/hengband/help/tang.txt
+libdata/hengband/help/town.hlp
+libdata/hengband/help/town.txt
+libdata/hengband/help/version.txt
+libdata/hengband/info/delete.me
+libdata/hengband/pref/colors.prf
+libdata/hengband/pref/font-ami.prf
+libdata/hengband/pref/font-dos.prf
+libdata/hengband/pref/font-ibm.prf
+libdata/hengband/pref/font-mac.prf
+libdata/hengband/pref/font-mon.prf
+libdata/hengband/pref/font-win.prf
+libdata/hengband/pref/font-x11.prf
+libdata/hengband/pref/font-xxx.prf
+libdata/hengband/pref/font.prf
+libdata/hengband/pref/graf-ami.prf
+libdata/hengband/pref/graf-dos.prf
+libdata/hengband/pref/graf-gcu.prf
+libdata/hengband/pref/graf-ibm.prf
+libdata/hengband/pref/graf-mac.prf
+libdata/hengband/pref/graf-new.prf
+libdata/hengband/pref/graf-win.prf
+libdata/hengband/pref/graf-x11.prf
+libdata/hengband/pref/graf-xaw.prf
+libdata/hengband/pref/graf-xxx.prf
+libdata/hengband/pref/graf.prf
+libdata/hengband/pref/pickpref.prf
+libdata/hengband/pref/picktype.prf
+libdata/hengband/pref/pref-acn.prf
+libdata/hengband/pref/pref-ami.prf
+libdata/hengband/pref/pref-emx.prf
+libdata/hengband/pref/pref-gcu.prf
+libdata/hengband/pref/pref-key.prf
+libdata/hengband/pref/pref-mac.prf
+libdata/hengband/pref/pref-opt.prf
+libdata/hengband/pref/pref-win.prf
+libdata/hengband/pref/pref-x11.prf
+libdata/hengband/pref/pref.prf
+libdata/hengband/pref/proxy.prf
+libdata/hengband/pref/spell-xx.prf
+libdata/hengband/pref/user-win.prf
+libdata/hengband/pref/user.prf
+libdata/hengband/pref/xtra-gcu.prf



Home | Main Index | Thread Index | Old Index