e433d0e3f7
This breaks many things, not the least of which are `make fetch-list' and `WRKOBJDIR'.
26 lines
705 B
Makefile
26 lines
705 B
Makefile
# $NetBSD: Makefile,v 1.4 1998/12/31 13:20:53 tv Exp $
|
|
|
|
DISTNAME= nethack-3.2.2
|
|
PKGNAME= nethack-tty-3.2.2
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://pinky.wtower.com/nethack/sources/
|
|
|
|
MAINTAINER= root@garbled.net
|
|
HOMEPAGE= http://www.win.tue.nl/games/roguelike/nethack/
|
|
|
|
DEPENDS+= nethack-lib-3.2.2:../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
|
|
|
|
post-patch:
|
|
@${MV} ${WRKSRC}/include/config.h ${WRKSRC}/foo
|
|
@${SED} -e 's@XXXLOCALBASEXXX@${LOCALBASE}@g' <${WRKSRC}/foo> ${WRKSRC}/include/config.h
|
|
@${RM} -f ${WRKSRC}/foo
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|