summaryrefslogtreecommitdiff
path: root/games/nethack-qt/Makefile
diff options
context:
space:
mode:
authorpooka <pooka@pkgsrc.org>2000-08-10 17:50:04 +0000
committerpooka <pooka@pkgsrc.org>2000-08-10 17:50:04 +0000
commit423d932718cf0cd95fe280b6ea3cb05e166f5e92 (patch)
tree652faece51f36554600906ef464a520802a70371 /games/nethack-qt/Makefile
parent696a9dc9e63ce407cb2e9ad886f16023dca1cb79 (diff)
downloadpkgsrc-423d932718cf0cd95fe280b6ea3cb05e166f5e92.tar.gz
Upgrade nethack to 3.3.1. Add Makefile.common to easy future upgrades.
This release contains numerous fixes to bugs in 3.3.0 and users are advised to upgrade. Note that old savegames and bones files won't work anymore.
Diffstat (limited to 'games/nethack-qt/Makefile')
-rw-r--r--games/nethack-qt/Makefile28
1 files changed, 5 insertions, 23 deletions
diff --git a/games/nethack-qt/Makefile b/games/nethack-qt/Makefile
index 91dcb849592..9fb093c0444 100644
--- a/games/nethack-qt/Makefile
+++ b/games/nethack-qt/Makefile
@@ -1,24 +1,16 @@
-# $NetBSD: Makefile,v 1.19 2000/07/15 20:39:18 agc Exp $
+# $NetBSD: Makefile,v 1.20 2000/08/10 17:50:10 pooka Exp $
#
-DISTNAME= nethack-3.3.0
-PKGNAME= nethack-qt-3.3.0
-CATEGORIES= games x11
-MASTER_SITES= ftp://ftp.win.tue.nl/pub/games/nethack.330/source/
+.include "../nethack-lib/Makefile.common"
-MAINTAINER= root@garbled.net
-HOMEPAGE= http://trolls.troll.no/warwick/nethack/
+PKGNAME= nethack-qt-${NETHACK_VERSION}
+CATEGORIES+= x11
-DEPENDS+= nethack-lib-3.3.0:../nethack-lib
+DEPENDS+= nethack-lib-${NETHACK_VERSION}:../nethack-lib
DEPENDS+= xpm-3.4k:../../graphics/xpm
DEPENDS+= qt2-2.0.2:../../x11/qt
-WRKSRC= ${WRKDIR}/nethack-3.3.0
-
USE_X11= yes
-USE_GMAKE= yes
-HAS_CONFIGURE= yes
-CONFIGURE_SCRIPT= ./sys/unix/setup.sh
ALL_TARGET= x11tiles nethack
INSTALL_TARGET= binfiles
@@ -29,16 +21,6 @@ MAKE_ENV+= GTYPE=-qt QTDIR=${QT2DIR}/qt2
PATCHFILES+= ${PKGSRCDIR}/games/nethack-lib/patches/patch-*
ALLFILES= ${DISTFILES} # don't checksum shared patches
-MD5_FILE= ${.CURDIR}/../nethack-lib/files/md5
-
-post-extract:
- @${CHMOD} 755 ${WRKSRC}/sys/unix/setup.sh
-
-post-patch:
- @${MV} ${WRKSRC}/include/config.h ${WRKSRC}/foo
- @${SED} -e 's@XXXPREFIXXXX@${PREFIX}@g' <${WRKSRC}/foo> ${WRKSRC}/include/config.h
- @${RM} -f ${WRKSRC}/foo
-
post-install:
@${CP} -f ${WRKSRC}/dat/x11tiles ${WRKSRC}/dat/tiles.xpm
@${INSTALL_DATA} ${WRKSRC}/dat/tiles.xpm ${PREFIX}/share/nethackdir