summaryrefslogtreecommitdiff
path: root/games/nethack-qt/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2000-03-29 00:29:51 +0000
committerdmcmahill <dmcmahill>2000-03-29 00:29:51 +0000
commitfdae5bb789e6faf816e3c7ae81e16b21362c09b5 (patch)
tree7ef2e7abaa298159e49ea2ffadc6612af8363fe1 /games/nethack-qt/Makefile
parent3c449b9873e63ec89d4eb528d8b2c69e3cec84a6 (diff)
downloadpkgsrc-fdae5bb789e6faf816e3c7ae81e16b21362c09b5.tar.gz
update to point at qt-2.0.2. This pkg now compiles again (has been broken
for some time). Leave marked as BROKEN because it complains of not finding a "tiles.xpm" file at run time.
Diffstat (limited to 'games/nethack-qt/Makefile')
-rw-r--r--games/nethack-qt/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/games/nethack-qt/Makefile b/games/nethack-qt/Makefile
index 666cf34f498..ac23ea79d20 100644
--- a/games/nethack-qt/Makefile
+++ b/games/nethack-qt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2000/03/27 08:54:55 tron Exp $
+# $NetBSD: Makefile,v 1.11 2000/03/29 00:29:51 dmcmahill Exp $
#
DISTNAME= nethack-3.3.0
@@ -11,7 +11,7 @@ HOMEPAGE= http://trolls.troll.no/warwick/nethack/
DEPENDS+= nethack-lib-3.3.0:../nethack-lib
DEPENDS+= xpm-3.4k:../../graphics/xpm
-DEPENDS+= qt-1.44:../../x11/qt
+DEPENDS+= qt-2.0.2:../../x11/qt
WRKSRC= ${WRKDIR}/nethack-3.3.0
@@ -19,19 +19,17 @@ USE_X11= yes
USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./sys/unix/setup.sh
-ALL_TARGET= nethack tiles.xpm
+ALL_TARGET= nethack
INSTALL_TARGET= binfiles
-MAKE_ENV+= GTYPE=-qt QTDIR=${X11BASE}
+PATH= ${X11BASE}/qt2/bin:$$PATH
+MAKE_ENV+= GTYPE=-qt QTDIR=${X11BASE}/qt2
PATCHFILES+= ${PKGSRCDIR}/games/nethack-lib/patches/patch-*
ALLFILES= ${DISTFILES} # don't checksum shared patches
MD5_FILE= ${.CURDIR}/../nethack-lib/files/md5
-BROKEN= requires qt 2.0 or greater
-
-#post-extract:
-# #@${LN} -sf ../../Qt ${WRKSRC}/win/Qt
+BROKEN= 'complains about tiles.xmp at runtime and non-writable scores directory'
post-extract:
@${CHMOD} 755 ${WRKSRC}/sys/unix/setup.sh
@@ -41,7 +39,4 @@ post-patch:
@${SED} -e 's@XXXPREFIXXXX@${PREFIX}@g' <${WRKSRC}/foo> ${WRKSRC}/include/config.h
@${RM} -f ${WRKSRC}/foo
-post-install:
- ${INSTALL} -c -o bin -g games -m 0644 ${WRKSRC}/dat/tiles.xpm ${PREFIX}/share/nethackdir
-
.include "../../mk/bsd.pkg.mk"