aboutsummaryrefslogtreecommitdiff
path: root/deskutils/abacus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/abacus/Makefile')
-rw-r--r--deskutils/abacus/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/deskutils/abacus/Makefile b/deskutils/abacus/Makefile
index e96953859cc1..cc6782019b71 100644
--- a/deskutils/abacus/Makefile
+++ b/deskutils/abacus/Makefile
@@ -20,6 +20,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82 \
tk82.1:${PORTSDIR}/x11-toolkits/tk82
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
@@ -32,7 +33,7 @@ post-extract:
@(cd ${WRKSRC}; ${RM} canvas; ${LN} -sf canvas-tcl8.2.2 canvas)
post-patch:
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/abacus
+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/abacus
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/abacus ${PREFIX}/bin