The zangband-2.7.1.ebuild works for zangband 2.7.2 when simply copied over as zangband-2.7.2.ebuild. The resulting install complained about not being able to access the news.txt file. Am investigating.
The problem with zangband 2.7.2 is that $game_datadir changes in configure.in between the sources for 2.7.1 and 2.7.2, the net effect of which is that DEFAULT_PATH is hosed. Instead of being /usr/share/games/zangband/lib/ it is ${prefix}/share/games/zangband/lib/ -- ${prefix} is never expanded to /usr as it should be.
Created attachment 7366 [details] modified zangband-2.7.2.ebuild I experienced the same error. I simplified src_compile() using econf, now it appears to be working for me. I tested on x86 and ppc.
Ah, but I did the same mistake you described for angband-3.0.2.ebuild: Replace this local myconf="--with-setgid=games" use X || myconf="--without-x" with local myconf="--with-setgid=games" use X || myconf="${myconf} --without-x"
While I'm at it... the ToME ebuild works as it just by changing version # to 2.1.1 as well as the Angband ebuild chaning version # to 3.0.3.
now masked in portage