diff options
Diffstat (limited to 'games/nethack-lib/Makefile')
-rw-r--r-- | games/nethack-lib/Makefile | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/games/nethack-lib/Makefile b/games/nethack-lib/Makefile index 5a08a32bd2c..6310e8af8ef 100644 --- a/games/nethack-lib/Makefile +++ b/games/nethack-lib/Makefile @@ -1,13 +1,9 @@ -# $NetBSD: Makefile,v 1.8 2000/07/17 15:37:15 agc Exp $ +# $NetBSD: Makefile,v 1.9 2000/08/10 17:50:04 pooka Exp $ # -DISTNAME= nethack-3.3.0 -PKGNAME= nethack-lib-3.3.0 -CATEGORIES= games -MASTER_SITES= ftp://ftp.win.tue.nl/pub/games/nethack.330/source/ +.include "../nethack-lib/Makefile.common" -MAINTAINER= root@garbled.net -HOMEPAGE= http://www.win.tue.nl/games/roguelike/nethack/ +PKGNAME= nethack-lib-${NETHACK_VERSION} HAS_CONFIGURE= yes CONFIGURE_SCRIPT= ./sys/unix/setup.sh @@ -16,22 +12,10 @@ INSTALL_TARGET= manpages install-dat DEINSTALL_FILE= ${WRKDIR}/DEINSTALL -.include "../../mk/bsd.prefs.mk" - .if ${OPSYS} == "SunOS" MAKE_FLAGS+= CC=gcc CPPFLAGS= .endif -pre-configure: - @${CHMOD} 755 ${WRKSRC}/sys/unix/setup.sh - -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 - post-build: ${SED} -e 's|@PREFIX@|${PREFIX}|' ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE} |