aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/abacus/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-21 03:04:20 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-21 03:04:20 +0800
commit31e77155ef1b88a883c10cdff579f224e74e0c6d (patch)
treec15a26f72873994fe0bd3efee72cbf4231a32cab /deskutils/abacus/Makefile
parent7c63220cbdbf96ae3b97fb3a66046966cdab2c11 (diff)
downloadfreebsd-ports-graphics-31e77155ef1b88a883c10cdff579f224e74e0c6d.tar.gz
freebsd-ports-graphics-31e77155ef1b88a883c10cdff579f224e74e0c6d.tar.zst
freebsd-ports-graphics-31e77155ef1b88a883c10cdff579f224e74e0c6d.zip
Replace ${PERL} with ${REINPLACE_CMD} in
PR: 39566 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
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 e96953859cc..cc6782019b7 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