aboutsummaryrefslogtreecommitdiff
path: root/deskutils/abacus
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-20 19:04:20 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-20 19:04:20 +0000
commit471cc5bc1d55d3820d33e0d1cb8243065daea133 (patch)
treeb9d565dd5f45d148d7bd8c012c47b6b32168bf5a /deskutils/abacus
parentb51269d2549e868f50a324fc3553ba76f4e48643 (diff)
downloadports-471cc5bc1d55d3820d33e0d1cb8243065daea133.tar.gz
ports-471cc5bc1d55d3820d33e0d1cb8243065daea133.zip
Notes
Diffstat (limited to 'deskutils/abacus')
-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