pkgsrc/games/nethack-lib/Makefile.common
pooka dac9d0e0d6 Update to NetHack 3.4.2
This is a bugfix release which fixes over 100 bugs including but
not limited to:

*  Fixed a fatal bug that triggered a panic when your secondary weapon
   was cursed during bones file creation
*  Fixed a fatal bug that caused a crash when applying figurine, candle,
   or bell that gets used up

for a complete list, see doc/fixes34.2

Old savegames and bones levels from nethack 3.4.1 (and 3.4.0) should
still work, but as usual, caution is advised.
2003-09-02 00:30:54 +00:00

36 lines
942 B
Makefile

# $NetBSD: Makefile.common,v 1.13 2003/09/02 00:30:54 pooka Exp $
#
NETHACK_BASEVER= 3.4.2
NETHACK_VERSION= ${NETHACK_BASEVER}
NETHACK_DISTVER= 342
NETHACK_DIR= nethackdir340
DISTNAME= nethack-${NETHACK_DISTVER}
WRKSRC= ${WRKDIR}/nethack-${NETHACK_BASEVER}
CATEGORIES= games
MASTER_SITES= ftp://ftp.sourceforge.net/pub/sourceforge/nethack/
EXTRACT_SUFX= .tgz
MAINTAINER= pooka@NetBSD.org
HOMEPAGE= http://www.nethack.org/
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./sys/unix/setup.sh
.include "../../mk/bsd.prefs.mk"
.if !defined(NO_CONFIGURE)
pre-configure:
@${CHMOD} 755 ${WRKSRC}/sys/unix/setup.sh
.endif
.if !defined(NO_BUILD)
post-patch:
@${MV} ${WRKSRC}/include/config.h ${WRKSRC}/config.h-pre
@${SED} -e 's@XXXPREFIXXXX@${PREFIX}@g' \
-e 's|@GZIP_PROGRAM@|'`${ECHO} ${GZIP_CMD} \
| ${AWK} '{ print $$1 }'`'|g' \
< ${WRKSRC}/config.h-pre > ${WRKSRC}/include/config.h
@${RM} -f ${WRKSRC}/config.h-pre
.endif