aboutsummaryrefslogtreecommitdiff
path: root/games/xpilotmon
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-02-03 14:25:02 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-02-03 14:25:02 +0000
commitb7794e08f42990fbccace82169f0932fc0f82cb2 (patch)
treed671429d850d1fcfd12d14d4d4632e94f7324092 /games/xpilotmon
parentaab82a2ca183f707bb86754d1f9112330fd27c0d (diff)
downloadports-b7794e08f42990fbccace82169f0932fc0f82cb2.tar.gz
ports-b7794e08f42990fbccace82169f0932fc0f82cb2.zip
Notes
Diffstat (limited to 'games/xpilotmon')
-rw-r--r--games/xpilotmon/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/xpilotmon/Makefile b/games/xpilotmon/Makefile
index 24b6d3c257ce..3c0f27ff182c 100644
--- a/games/xpilotmon/Makefile
+++ b/games/xpilotmon/Makefile
@@ -17,8 +17,10 @@ RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
ALL_TARGET= xpilotmon
MAN6= xpilotmon.6
+USE_REINPLACE= yes
+
post-patch:
- @${PERL} -pi -e "s/exec wish/exec wish8.4/" ${WRKSRC}/xpilotmon.org
- @${PERL} -pi -e "s/.\(INSTALL_DATA\)/${INSTALL_MAN}/" ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e "s/exec wish/exec wish8.4/" ${WRKSRC}/xpilotmon.org
+ @${REINPLACE_CMD} -e "s/\$$(INSTALL_DATA)/${INSTALL_MAN}/" ${WRKSRC}/Makefile
.include <bsd.port.mk>