aboutsummaryrefslogtreecommitdiff
path: root/games/unnethack/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 22:57:37 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 22:57:37 +0000
commit5019ffc91bcd2ad26cf4702f15841eafc984d4b0 (patch)
treee28e63fdf22fe3c0a77219f1724ab25c046c8bc1 /games/unnethack/Makefile
parent69153696b9e73f3a328c9e20da06591b85766611 (diff)
downloadports-5019ffc91bcd2ad26cf4702f15841eafc984d4b0.tar.gz
ports-5019ffc91bcd2ad26cf4702f15841eafc984d4b0.zip
Notes
Diffstat (limited to 'games/unnethack/Makefile')
-rw-r--r--games/unnethack/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/unnethack/Makefile b/games/unnethack/Makefile
index 4a2b1bf7609d..f5debfea5bf4 100644
--- a/games/unnethack/Makefile
+++ b/games/unnethack/Makefile
@@ -16,12 +16,14 @@ DISTNAME= se${PORTVERSION:S/.//g:L}
MAINTAINER= adam-ports@blacktabby.org
USE_GMAKE= yes
+USE_REINPLACE= yes
MAN6= dgn_comp.6 dlb.6 lev_comp.6 slashem-tty.6 recover.6
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/([A-Z])./\1/g}
post-patch:
- ${PERL} -pi -e "s@/usr/local@${PREFIX}@g" ${WRKSRC}/include/config.h
+ ${REINPLACE_CMD} -e \
+ "s@/usr/local@${PREFIX}@g" ${WRKSRC}/include/config.h
pre-configure:
@cd ${WRKSRC}/sys/unix; ${SH} setup.sh