aboutsummaryrefslogtreecommitdiff
path: root/games/nonsense/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/nonsense/Makefile')
-rw-r--r--games/nonsense/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/nonsense/Makefile b/games/nonsense/Makefile
index 8f2edccd2405..bb293004c27b 100644
--- a/games/nonsense/Makefile
+++ b/games/nonsense/Makefile
@@ -14,11 +14,12 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= roam@FreeBSD.org
NO_BUILD= defined
+USE_REINPLACE= yes
MAN6= nonsense.6
post-configure:
- ${PERL} -pi -e "s,/usr/local,${PREFIX}," ${WRKSRC}/nonsense
+ ${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," ${WRKSRC}/nonsense
${SED} -e "s^%%PREFIX%%^${PREFIX}^g" \
< ${FILESDIR}/${MAN6} > ${WRKSRC}/${MAN6}