pkgsrc/games/angband-tty/Makefile
rillig d8a6056ef7 Fixed permissions for the game directories, since in unprivileged mode,
they ended without the execute bits set. In 2004, some variables have
been introduced to pkgsrc that fit exactly this purpose. Bumped
PKGREVISION.
2006-07-03 05:15:49 +00:00

41 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.27 2006/07/03 05:15:49 rillig Exp $
#
DISTNAME= angband-283
PKGNAME= angband-tty-2.8.3
PKGREVISION= 1
CATEGORIES= games
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} ${SPOILERFILE}
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.phial.com/angband/
COMMENT= Tolkien based variant of Moria for tty/console displays
CONFLICTS= angband-x11-[0-9]*
WRKSRC= ${WRKDIR}/${DISTNAME}/src
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAKEFILE= Makefile.std
BUILD_TARGET= angband
SPOILERFILE= angband-spoilers.tar.gz
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
GCC_REQD+= 2.95.3
.endif
INSTALLATION_DIRS= bin
do-install:
${INSTALL} -d -o bin -g games -m 0775 ${PREFIX}/share/angband
cd ${WRKDIR}/${DISTNAME}/lib && ${PAX} -wr * ${PREFIX}/share/angband
cd ${PREFIX}/share/angband/help && \
${PAX} -O -zrf ${DISTDIR}/${SPOILERFILE}
${CHOWN} -R ${GAMEOWN}:${GAMEGRP} ${PREFIX}/share/angband
cd ${PREFIX}/share/angband && ${CHMOD} ${GAMEDATAMODE} */*
cd ${PREFIX}/share/angband && ${CHMOD} ${GAMEDIRMODE} apex bone data edit file help info save user xtra
${INSTALL_GAME} ${WRKSRC}/angband ${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"