summaryrefslogtreecommitdiff
path: root/net/trafshow3/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
commit37f2224fa6a14520df830ae1daeba9b877daa347 (patch)
tree13d3d367b0967ab3adcc2ce528bfe1e770b4d48e /net/trafshow3/Makefile
parent- reorder patches (diff)
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
Notes
Notes: svn path=/head/; revision=69436
Diffstat (limited to 'net/trafshow3/Makefile')
-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