aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-02-24 19:03:55 +0800
committerbeech <beech@FreeBSD.org>2008-02-24 19:03:55 +0800
commita9c544b4548a54568b161aae2fb5dd05fffbf69d (patch)
treeda3a4f9803719e5a9edf12fef261daa5ee4aee8d /net
parent88f7758e3f11087bf3385a095718bc499315b92d (diff)
downloadfreebsd-ports-gnome-a9c544b4548a54568b161aae2fb5dd05fffbf69d.tar.gz
freebsd-ports-gnome-a9c544b4548a54568b161aae2fb5dd05fffbf69d.tar.zst
freebsd-ports-gnome-a9c544b4548a54568b161aae2fb5dd05fffbf69d.zip
- Fix install/uninstall of vnstat.conf and var/db/vnstat so data won't be overwritten.
- Minor tweaks - Bump portrevision PR: ports/120968 Submitted by: Dennis Herrmann <adox@mcx2.org> (maintainer)
Diffstat (limited to 'net')
-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)