aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/vnstat/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile
index 76a826b63f69..62a0019be21d 100644
--- a/net/vnstat/Makefile
+++ b/net/vnstat/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vnstat
PORTVERSION= 1.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://humdi.net/vnstat/ \
http://mcx2.org/files/
@@ -25,7 +25,7 @@ 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
+ -e 's|/var/lib|/var/db|g' ${WRKSRC}/vnstat-cron
post-install:
.if !defined(NOPORTDOCS)