diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 01:03:42 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 01:03:42 +0000 |
commit | 654a9835645b851d4440e369fc68b7618c6c6ac1 (patch) | |
tree | d8c490c3dd39a7e80d58fd7df7c4db5681ea1e67 /net | |
parent | 05f3f307f82264b0a55f690681b738ef2ffa12aa (diff) | |
download | ports-654a9835645b851d4440e369fc68b7618c6c6ac1.tar.gz ports-654a9835645b851d4440e369fc68b7618c6c6ac1.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/trafcount/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/net/trafcount/Makefile b/net/trafcount/Makefile index fd1a48da6454..d12f7bfa5447 100644 --- a/net/trafcount/Makefile +++ b/net/trafcount/Makefile @@ -19,11 +19,14 @@ STARTUP= trafcount.sh MAN1= trafcount.1 MAN_COMPRESSED= no +USE_REINPLACE= yes post-patch: - @${PERL} -pi.fbsd -e 's@kmoddir=/modules@kmoddir=${PREFIX}/libexec@g' ${WRKSRC}/trafcount.sh - @${PERL} -pi.fbsd -e 's@/usr/local@${PREFIX}@g' \ - ${WRKSRC}/client/Makefile ${WRKSRC}/module/Makefile ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's@kmoddir=/modules@kmoddir=${PREFIX}/libexec@g' \ + ${WRKSRC}/trafcount.sh + @${REINPLACE_CMD} -e 's@/usr/local@${PREFIX}@g' \ + ${WRKSRC}/client/Makefile ${WRKSRC}/module/Makefile \ + ${WRKSRC}/Makefile .if !exists(/usr/src/sys/Makefile) BROKEN= "Kernel source files required" |