aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/vnstat/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile
index e8d6cc0ce0c6..76a826b63f69 100644
--- a/net/vnstat/Makefile
+++ b/net/vnstat/Makefile
@@ -7,6 +7,7 @@
PORTNAME= vnstat
PORTVERSION= 1.6
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://humdi.net/vnstat/ \
http://mcx2.org/files/
@@ -23,6 +24,8 @@ SUB_FILES= pkg-message
post-extract:
@cd ${WRKSRC} && ${CP} cron/vnstat vnstat-cron
+ @${REINPLACE_CMD} -e 's|/usr/bin|/usr/local/bin|g' \
+ ${WRKSRC}/vnstat-cron
post-install:
.if !defined(NOPORTDOCS)