blob: ba59d1278332dfecbd792fffbc92a139b4dfed02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.6 2000/03/27 08:54:56 tron Exp $
DISTNAME= nethack-3.3.0
PKGNAME= nethack-tty-3.3.0
CATEGORIES= games
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.3.0:../nethack-lib
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./sys/unix/setup.sh
ALL_TARGET= nethack
INSTALL_TARGET= binfiles
MAKE_ENV+= GTYPE=-tty
PATCHDIR= ${PKGSRCDIR}/games/nethack-lib/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
.include "../../mk/bsd.pkg.mk"
|