diff options
Diffstat (limited to 'games/xpilotmon/Makefile')
-rw-r--r-- | games/xpilotmon/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/games/xpilotmon/Makefile b/games/xpilotmon/Makefile index 24b6d3c..3c0f27f 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> |