From 45d5ff61ee162a4a81c4ac5e99c354d4b8a3491f Mon Sep 17 00:00:00 2001 From: pooka Date: Fri, 24 Dec 1999 22:29:58 +0000 Subject: Update the Nethack package to 3.3.0. nethack-qt will be non-functional until we get qt2.0 or greater into pkgsrc. --- games/nethack-qt/Makefile | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'games/nethack-qt/Makefile') diff --git a/games/nethack-qt/Makefile b/games/nethack-qt/Makefile index 1df18efa8d6..a934bd755aa 100644 --- a/games/nethack-qt/Makefile +++ b/games/nethack-qt/Makefile @@ -1,22 +1,19 @@ -# $NetBSD: Makefile,v 1.7 1999/06/04 15:39:09 drochner Exp $ +# $NetBSD: Makefile,v 1.8 1999/12/24 22:30:02 pooka Exp $ # -DISTNAME= qnethack-3.2.2.1.0.1.src -PKGNAME= nethack-qt-3.2.2 +DISTNAME= nethack-3.3.0 +PKGNAME= nethack-qt-3.3.0 CATEGORIES= games x11 -MASTER_SITES= ftp://ftp.troll.no/contrib/ \ - http://pinky.wtower.com/nethack/sources/ -DISTFILES= qnethack-3.2.2.1.0.1.src.tar.gz \ - nethack-3.2.2.tar.gz +MASTER_SITES= ftp://ftp.win.tue.nl/pub/games/nethack.330/source/ MAINTAINER= root@garbled.net HOMEPAGE= http://trolls.troll.no/warwick/nethack/ -DEPENDS+= nethack-lib-3.2.2:../nethack-lib +DEPENDS+= nethack-lib-3.3.0:../nethack-lib DEPENDS+= xpm-3.4k:../../graphics/xpm DEPENDS+= qt-1.44:../../x11/qt -WRKSRC= ${WRKDIR}/nethack-3.2.2 +WRKSRC= ${WRKDIR}/nethack-3.3.0 USE_X11= yes USE_GMAKE= yes @@ -29,16 +26,22 @@ MAKE_ENV+= GTYPE=-qt QTDIR=${X11BASE} PATCHFILES+= ${PKGSRCDIR}/games/nethack-lib/patches/patch-* ALLFILES= ${DISTFILES} # don't checksum shared patches +MD5_FILE= ${.CURDIR}/../nethack-lib/files/md5 + +IGNORE= "requires qt2 which is unavailable in pkgsrc" + +#post-extract: +# #@${LN} -sf ../../Qt ${WRKSRC}/win/Qt + post-extract: - @${LN} -sf ../../Qt ${WRKSRC}/win/Qt + @${CHMOD} 755 ${WRKSRC}/sys/unix/setup.sh post-patch: @${MV} ${WRKSRC}/include/config.h ${WRKSRC}/foo - @${SED} -e 's@XXXLOCALBASEXXX@${LOCALBASE}@g' <${WRKSRC}/foo> ${WRKSRC}/include/config.h + @${SED} -e 's@XXXPREFIXXXX@${PREFIX}@g' <${WRKSRC}/foo> ${WRKSRC}/include/config.h @${RM} -f ${WRKSRC}/foo - @cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < win/Qt/nhqt.patch post-install: - ${INSTALL} -c -o bin -g games -m 0644 ${WRKSRC}/dat/tiles.xpm ${LOCALBASE}/share/nethackdir + ${INSTALL} -c -o bin -g games -m 0644 ${WRKSRC}/dat/tiles.xpm ${PREFIX}/share/nethackdir .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3