summaryrefslogtreecommitdiff
path: root/games/nethack-x11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/nethack-x11/Makefile')
-rw-r--r--games/nethack-x11/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/games/nethack-x11/Makefile b/games/nethack-x11/Makefile
index 5b9fbcf65c8..9d7aa100b50 100644
--- a/games/nethack-x11/Makefile
+++ b/games/nethack-x11/Makefile
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.5 1999/04/26 18:38:29 garbled Exp $
+# $NetBSD: Makefile,v 1.6 1999/12/24 22:30:05 pooka Exp $
#
-DISTNAME= nethack-3.2.2
-PKGNAME= nethack-x11-3.2.2
+DISTNAME= nethack-3.3.0
+PKGNAME= nethack-x11-3.3.0
CATEGORIES= games x11
-MASTER_SITES= http://pinky.wtower.com/nethack/sources/
+MASTER_SITES= ftp://ftp.win.tue.nl/pub/games/nethack.330/source/
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.win.tue.nl/games/roguelike/nethack/
-DEPENDS+= nethack-lib-3.2.2:../nethack-lib
+DEPENDS+= nethack-lib-3.3.0:../nethack-lib
DEPENDS+= xpm-3.4k:../../graphics/xpm
USE_X11= yes
@@ -22,9 +22,14 @@ MAKE_ENV+= GTYPE=-x11
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@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
.include "../../mk/bsd.pkg.mk"