aboutsummaryrefslogtreecommitdiff
path: root/games/xtron
diff options
context:
space:
mode:
Diffstat (limited to 'games/xtron')
-rw-r--r--games/xtron/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/xtron/Makefile b/games/xtron/Makefile
index d1ecc89b1b71..f1aa170a2d06 100644
--- a/games/xtron/Makefile
+++ b/games/xtron/Makefile
@@ -14,11 +14,12 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_XPM= yes
post-patch:
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xtronrc
+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xtronrc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xtron ${PREFIX}/bin