summaryrefslogtreecommitdiff
path: root/games/nethack-qt/Makefile
diff options
context:
space:
mode:
authorpooka <pooka@pkgsrc.org>1999-12-24 22:29:58 +0000
committerpooka <pooka@pkgsrc.org>1999-12-24 22:29:58 +0000
commitc3b8ad7ebcd63465936cc29d74a1b1bad873f2ad (patch)
treeff3d7ba097bd9ecf05d8fa4fcc4f0fed8582c8f2 /games/nethack-qt/Makefile
parentf7c7e1c7ff8ea3b7e389b455124c4d8d00ec43bb (diff)
downloadpkgsrc-c3b8ad7ebcd63465936cc29d74a1b1bad873f2ad.tar.gz
Update the Nethack package to 3.3.0. nethack-qt will be non-functional
until we get qt2.0 or greater into pkgsrc.
Diffstat (limited to 'games/nethack-qt/Makefile')
-rw-r--r--games/nethack-qt/Makefile29
1 files changed, 16 insertions, 13 deletions
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"