summaryrefslogtreecommitdiff
path: root/games/angband-x11
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2002-07-26 22:06:46 +0000
committerjschauma <jschauma@pkgsrc.org>2002-07-26 22:06:46 +0000
commitc2d6993501ee78855c306c6fcc6895cd3d2f511b (patch)
tree9e24e5f798a593dc26d416e897e24553f5e2e183 /games/angband-x11
parentb3737cdb7beb6d6adc141c611cbbe1d207f8c441 (diff)
downloadpkgsrc-c2d6993501ee78855c306c6fcc6895cd3d2f511b.tar.gz
Update angbadn-x11 to 3.0.1 as suggested in PR pkg/17605. Some modifications
to the suggested Makefile by myself. Our previous version was 2.8.3, so the list of changes is rather extensive. A complete list is available on the packages homepage. Highlights include (as far as I can tell, not being a user of this package): - the usual feature enhancements and bug-fixes - randomized character generation - improved monster AI - color coded messages and more sound events - lots of environmental, monster and player changes - new MASTER_SITE - new HOMEPAGE
Diffstat (limited to 'games/angband-x11')
-rw-r--r--games/angband-x11/Makefile39
-rw-r--r--games/angband-x11/PLIST203
-rw-r--r--games/angband-x11/distinfo10
3 files changed, 143 insertions, 109 deletions
diff --git a/games/angband-x11/Makefile b/games/angband-x11/Makefile
index fa80b889194..6be82342748 100644
--- a/games/angband-x11/Makefile
+++ b/games/angband-x11/Makefile
@@ -1,40 +1,39 @@
-# $NetBSD: Makefile,v 1.12 2002/04/20 15:04:47 cjep Exp $
+# $NetBSD: Makefile,v 1.13 2002/07/26 22:06:46 jschauma Exp $
#
-DISTNAME= angband-283
-PKGNAME= angband-x11-2.8.3
+DISTNAME= angband-3.0.1
+PKGNAME= angband-x11-3.0.1
CATEGORIES= games x11
-MASTER_SITES= ftp://export.andrew.cmu.edu/angband/Source/ \
- ftp://ftp.greyhelm.com/pub/Games/Angband/Angband-2.7.x/Source/
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} angband-spoilers.tar.gz
+MASTER_SITES= ftp://clockwork.dementia.org/angband/Source/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SPOILERFILE}
MAINTAINER= root@garbled.net
-HOMEPAGE= http://www.phial.com/angband/
+HOMEPAGE= http://thangorodrim.angband.org/
COMMENT= Tolkien based variant of Moria for X11 displays
CONFLICTS= angband-tty-[0-9]*
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
-MAKEFILE= Makefile.std
-ALL_TARGET= angband
-USE_X11= yes
+
+USE_X11= yes
+USE_NCURSES= # defined
SPOILERFILE= angband-spoilers.tar.gz
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-setgid=games --prefix=${PREFIX}
+
.if (${MACHINE_ARCH} == arm32)
. include "../../lang/gcc/Makefile.gcc"
MAKE_FLAGS+= CC=${CC}
.endif
-do-install:
- ${INSTALL} -d -o bin -g games -m 0775 ${PREFIX}/share/angband
- ${CP} -R ${WRKDIR}/${DISTNAME}/lib/* ${PREFIX}/share/angband
- cd ${PREFIX}/share/angband/help && \
- ${PAX} -rzf ${DISTDIR}/${SPOILERFILE}
- ${CHOWN} -R bin:games ${PREFIX}/share/angband
- ${CHMOD} -R 0664 ${PREFIX}/share/angband/*
- (cd ${PREFIX}/share/angband && ${CHMOD} 0775 apex bone data edit file help info save user xtra)
- ${INSTALL} -c -s -o bin -g games -m 2755 ${WRKSRC}/angband ${PREFIX}/bin
+# add spoiler files and clean up a bit
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/games/angband/lib/info
+ cd ${PREFIX}/share/games/angband/lib/info/ && ${PAX} -rzf ${DISTDIR}/${SPOILERFILE}
+ ${CHOWN} -R bin:games ${PREFIX}/share/games/angband
+ ${FIND} ${PREFIX}/share/games/angband -name delete.me -exec ${RM} {} \;
+.include "../../devel/ncurses/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/angband-x11/PLIST b/games/angband-x11/PLIST
index 13873558eda..47eb847040f 100644
--- a/games/angband-x11/PLIST
+++ b/games/angband-x11/PLIST
@@ -1,83 +1,122 @@
-@comment $NetBSD: PLIST,v 1.2 2002/02/15 10:12:38 skrll Exp $
+@comment $NetBSD: PLIST,v 1.3 2002/07/26 22:06:46 jschauma Exp $
bin/angband
-share/angband/edit/a_info.txt
-share/angband/edit/e_info.txt
-share/angband/edit/f_info.txt
-share/angband/edit/k_info.txt
-share/angband/edit/r_info.txt
-share/angband/edit/v_info.txt
-share/angband/file/dead.txt
-share/angband/file/news.txt
-share/angband/help/ability.spo
-share/angband/help/artifact.spo
-share/angband/help/attack.spo
-share/angband/help/attack.txt
-share/angband/help/birth.txt
-share/angband/help/books.spo
-share/angband/help/command.txt
-share/angband/help/dungeon.spo
-share/angband/help/dungeon.txt
-share/angband/help/extra.hlp
-share/angband/help/general.txt
-share/angband/help/guide.spo
-share/angband/help/help.hlp
-share/angband/help/hints.spo
-share/angband/help/magic.spo
-share/angband/help/misc.spo
-share/angband/help/mon-blow.spo
-share/angband/help/mon-desc.spo
-share/angband/help/mon-info.spo
-share/angband/help/mon-name.spo
-share/angband/help/mon-race.spo
-share/angband/help/mon-uniq.spo
-share/angband/help/mon-view.spo
-share/angband/help/monsters.hlp
-share/angband/help/obj-desc.spo
-share/angband/help/obj-good.spo
-share/angband/help/obj-long.spo
-share/angband/help/objects.hlp
-share/angband/help/option.txt
-share/angband/help/playing.txt
-share/angband/help/rumors.spo
-share/angband/help/spoiler.hlp
-share/angband/help/stats.spo
-share/angband/help/store.spo
-share/angband/help/user.hlp
-share/angband/help/various.hlp
-share/angband/help/version.txt
-share/angband/user/font-ami.prf
-share/angband/user/font-dos.prf
-share/angband/user/font-ibm.prf
-share/angband/user/font-mac.prf
-share/angband/user/font-win.prf
-share/angband/user/font-x11.prf
-share/angband/user/font-xxx.prf
-share/angband/user/font.prf
-share/angband/user/graf-ami.prf
-share/angband/user/graf-ibm.prf
-share/angband/user/graf-mac.prf
-share/angband/user/graf-win.prf
-share/angband/user/graf-x11.prf
-share/angband/user/graf-xxx.prf
-share/angband/user/graf.prf
-share/angband/user/pref-acn.prf
-share/angband/user/pref-ami.prf
-share/angband/user/pref-emx.prf
-share/angband/user/pref-gcu.prf
-share/angband/user/pref-mac.prf
-share/angband/user/pref-win.prf
-share/angband/user/pref-x11.prf
-share/angband/user/pref.prf
-share/angband/user/user-mac.prf
-share/angband/user/user.prf
-@unexec ${RM} -r %D/share/angband/apex
-@unexec ${RM} -r %D/share/angband/data
-@unexec ${RM} -r %D/share/angband/save
-@dirrm share/angband/bone
-@dirrm share/angband/edit
-@dirrm share/angband/file
-@dirrm share/angband/help
-@dirrm share/angband/info
-@dirrm share/angband/user
-@dirrm share/angband/xtra
-@dirrm share/angband
+share/games/angband/lib/apex/scores.raw
+share/games/angband/lib/data/artifact.raw
+share/games/angband/lib/data/cost_adj.raw
+share/games/angband/lib/data/ego_item.raw
+share/games/angband/lib/data/flavor.raw
+share/games/angband/lib/data/limits.raw
+share/games/angband/lib/data/monster.raw
+share/games/angband/lib/data/object.raw
+share/games/angband/lib/data/p_class.raw
+share/games/angband/lib/data/p_hist.raw
+share/games/angband/lib/data/p_race.raw
+share/games/angband/lib/data/prices.raw
+share/games/angband/lib/data/shop_own.raw
+share/games/angband/lib/data/terrain.raw
+share/games/angband/lib/data/vault.raw
+share/games/angband/lib/edit/artifact.txt
+share/games/angband/lib/edit/cost_adj.txt
+share/games/angband/lib/edit/ego_item.txt
+share/games/angband/lib/edit/flavor.txt
+share/games/angband/lib/edit/limits.txt
+share/games/angband/lib/edit/monster.txt
+share/games/angband/lib/edit/object.txt
+share/games/angband/lib/edit/p_class.txt
+share/games/angband/lib/edit/p_hist.txt
+share/games/angband/lib/edit/p_race.txt
+share/games/angband/lib/edit/shop_own.txt
+share/games/angband/lib/edit/terrain.txt
+share/games/angband/lib/edit/vault.txt
+share/games/angband/lib/file/dead.txt
+share/games/angband/lib/file/news.txt
+share/games/angband/lib/help/attack.txt
+share/games/angband/lib/help/birth.txt
+share/games/angband/lib/help/command.txt
+share/games/angband/lib/help/dungeon.txt
+share/games/angband/lib/help/general.txt
+share/games/angband/lib/help/help.hlp
+share/games/angband/lib/help/option.txt
+share/games/angband/lib/help/playing.txt
+share/games/angband/lib/help/version.txt
+share/games/angband/lib/info/ability.spo
+share/games/angband/lib/info/artifact.spo
+share/games/angband/lib/info/attack.spo
+share/games/angband/lib/info/books.spo
+share/games/angband/lib/info/dungeon.spo
+share/games/angband/lib/info/extra.hlp
+share/games/angband/lib/info/guide.spo
+share/games/angband/lib/info/hints.spo
+share/games/angband/lib/info/magic.spo
+share/games/angband/lib/info/misc.spo
+share/games/angband/lib/info/mon-blow.spo
+share/games/angband/lib/info/mon-desc.spo
+share/games/angband/lib/info/mon-info.spo
+share/games/angband/lib/info/mon-name.spo
+share/games/angband/lib/info/mon-race.spo
+share/games/angband/lib/info/mon-uniq.spo
+share/games/angband/lib/info/mon-view.spo
+share/games/angband/lib/info/monsters.hlp
+share/games/angband/lib/info/obj-desc.spo
+share/games/angband/lib/info/obj-good.spo
+share/games/angband/lib/info/obj-long.spo
+share/games/angband/lib/info/objects.hlp
+share/games/angband/lib/info/rumors.spo
+share/games/angband/lib/info/spoiler.hlp
+share/games/angband/lib/info/stats.spo
+share/games/angband/lib/info/store.spo
+share/games/angband/lib/info/user.hlp
+share/games/angband/lib/info/various.hlp
+share/games/angband/lib/pref/flvr-new.prf
+share/games/angband/lib/pref/flvr-xxx.prf
+share/games/angband/lib/pref/font-ami.prf
+share/games/angband/lib/pref/font-dos.prf
+share/games/angband/lib/pref/font-ibm.prf
+share/games/angband/lib/pref/font-mac.prf
+share/games/angband/lib/pref/font-win.prf
+share/games/angband/lib/pref/font-x11.prf
+share/games/angband/lib/pref/font-xxx.prf
+share/games/angband/lib/pref/font.prf
+share/games/angband/lib/pref/graf-ami.prf
+share/games/angband/lib/pref/graf-gcu.prf
+share/games/angband/lib/pref/graf-ibm.prf
+share/games/angband/lib/pref/graf-lsl.prf
+share/games/angband/lib/pref/graf-mac.prf
+share/games/angband/lib/pref/graf-new.prf
+share/games/angband/lib/pref/graf-win.prf
+share/games/angband/lib/pref/graf-x11.prf
+share/games/angband/lib/pref/graf-xxx.prf
+share/games/angband/lib/pref/graf.prf
+share/games/angband/lib/pref/message.prf
+share/games/angband/lib/pref/pref-acn.prf
+share/games/angband/lib/pref/pref-ami.prf
+share/games/angband/lib/pref/pref-emx.prf
+share/games/angband/lib/pref/pref-gcu.prf
+share/games/angband/lib/pref/pref-mac.prf
+share/games/angband/lib/pref/pref-win.prf
+share/games/angband/lib/pref/pref-x11.prf
+share/games/angband/lib/pref/pref.prf
+share/games/angband/lib/pref/user-mac.prf
+share/games/angband/lib/pref/user.prf
+share/games/angband/lib/pref/xtra-new.prf
+share/games/angband/lib/pref/xtra-xxx.prf
+share/games/angband/lib/script/init.lua
+share/games/angband/lib/script/object.lua
+share/games/angband/lib/script/spell.lua
+share/games/angband/lib/script/test.lua
+share/games/angband/lib/script/trace.lua
+@dirrm share/games/angband/lib/xtra
+@dirrm share/games/angband/lib/user
+@dirrm share/games/angband/lib/script
+@dirrm share/games/angband/lib/save
+@dirrm share/games/angband/lib/pref
+@dirrm share/games/angband/lib/info
+@dirrm share/games/angband/lib/help
+@dirrm share/games/angband/lib/file
+@dirrm share/games/angband/lib/edit
+@dirrm share/games/angband/lib/data
+@dirrm share/games/angband/lib/bone
+@dirrm share/games/angband/lib/apex
+@dirrm share/games/angband/lib
+@dirrm share/games/angband
+@unexec ${RM} %D/share/games 2>/dev/null || ${TRUE}
diff --git a/games/angband-x11/distinfo b/games/angband-x11/distinfo
index 13c651acc4a..8f8287e21f4 100644
--- a/games/angband-x11/distinfo
+++ b/games/angband-x11/distinfo
@@ -1,10 +1,6 @@
-$NetBSD: distinfo,v 1.5 2002/04/20 15:04:47 cjep Exp $
+$NetBSD: distinfo,v 1.6 2002/07/26 22:06:46 jschauma Exp $
-SHA1 (angband-283.tar.gz) = 1dc4a2786c31c2336daf57f76f4fa762f7d84cf3
-Size (angband-283.tar.gz) = 822762 bytes
+SHA1 (angband-3.0.1.tar.gz) = 99c36a4749046f1e091cd62d62a04a81caca34ec
+Size (angband-3.0.1.tar.gz) = 1323480 bytes
SHA1 (angband-spoilers.tar.gz) = 6f5db28f686be3f41df6c22990c53f9e46a1c7cd
Size (angband-spoilers.tar.gz) = 234909 bytes
-SHA1 (patch-aa) = 4ac1892fd94ef97431a5860caacdb6394b01bd5b
-SHA1 (patch-ab) = 6abaa44ac3131720855950598e4bfa18fc0c595a
-SHA1 (patch-ac) = 845a47bec2b5eb3abf10d2f7f244041d8167fba6
-SHA1 (patch-ad) = ea446d8d7f79a35f0d70aa8bf03a18dcf87f908b