pkgsrc/games/nethack-tty/Makefile
pho 3d23cf4c72 Update to NetHack 3.6.2
See release notes for the changes from 3.4.3:
* http://nethack.org/v360/release.html
* http://nethack.org/v361/release.html
* http://nethack.org/v362/release.html

IMPORTANT NOTICE:
  Old 3.4.x save files are *incompatible* with this version (which
  isn't my fault). Files are now saved in /var/games/nethack360.
2019-10-24 11:51:23 +00:00

26 lines
686 B
Makefile

# $NetBSD: Makefile,v 1.21 2019/10/24 11:51:52 pho Exp $
#
.include "../../games/nethack-lib/Makefile.common"
PKGNAME= nethack-tty-${NETHACK_VERSION}
COMMENT= The tty/console based version of NetHack
DEPENDS+= nethack-lib-${NETHACK_VERSION}{,nb*}:../../games/nethack-lib
BUILD_TARGET= nethack
MAKE_ENV+= GAME=nethack
MAKE_ENV+= GTYPE=-tty
INSTALLATION_DIRS+= bin
do-install:
${RUN}${INSTALL_PROGRAM} ${WRKSRC}/src/nethack ${DESTDIR}${PREFIX}/bin/nethack-tty
DISTINFO_FILE?= ${.CURDIR}/../../games/nethack-lib/distinfo
PATCHDIR= ${.CURDIR}/../../games/nethack-lib/patches
SPECIAL_PERMS+= ${PREFIX}/bin/nethack-tty \
${GAMEPERM}
.include "../../mk/bsd.pkg.mk"