aboutsummaryrefslogtreecommitdiffstats
path: root/net/trafshow3
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 13:46:38 +0800
committeredwin <edwin@FreeBSD.org>2002-11-04 13:46:38 +0800
commit7dd6805c44bf98d4d64a54313e9f622fd7cb2656 (patch)
tree753b016f246dce9957c268962733d34c7e3eb7b7 /net/trafshow3
parentc4fd09e68bc5c2ee1078b7b21b2ac0601f34aead (diff)
downloadfreebsd-ports-gnome-7dd6805c44bf98d4d64a54313e9f622fd7cb2656.tar.gz
freebsd-ports-gnome-7dd6805c44bf98d4d64a54313e9f622fd7cb2656.tar.zst
freebsd-ports-gnome-7dd6805c44bf98d4d64a54313e9f622fd7cb2656.zip
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
Diffstat (limited to 'net/trafshow3')
-rw-r--r--net/trafshow3/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/trafshow3/Makefile b/net/trafshow3/Makefile
index 7580bba2cde9..47800cb82c4e 100644
--- a/net/trafshow3/Makefile
+++ b/net/trafshow3/Makefile
@@ -20,6 +20,7 @@ MAINTAINER= ryan@sasknow.com
LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses
.endif
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
@@ -28,7 +29,7 @@ ALL_TARGET= trafshow
MAN1= trafshow.1
post-patch:
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.c
+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin