aboutsummaryrefslogtreecommitdiff
path: root/net/vnstat
diff options
context:
space:
mode:
authorDennis Herrmann <dhn@FreeBSD.org>2009-07-01 15:33:12 +0000
committerDennis Herrmann <dhn@FreeBSD.org>2009-07-01 15:33:12 +0000
commit0659d0e9fec7af167498e67bd4b3860081a3083e (patch)
tree126091d44ecbb949921ad6a35853be7626a9e614 /net/vnstat
parentc45b199f55fda3c4b4ec0a370e3e41aede8182a6 (diff)
downloadports-0659d0e9fec7af167498e67bd4b3860081a3083e.tar.gz
ports-0659d0e9fec7af167498e67bd4b3860081a3083e.zip
Notes
Diffstat (limited to 'net/vnstat')
-rw-r--r--net/vnstat/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile
index 61037b6030a6..154b2ef994e1 100644
--- a/net/vnstat/Makefile
+++ b/net/vnstat/Makefile
@@ -7,6 +7,7 @@
PORTNAME= vnstat
PORTVERSION= 1.7
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://humdi.net/vnstat/ \
http://mirror.mcx2.org/
@@ -40,6 +41,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|$$(DESTDIR)|${PREFIX}|g' \
-e 's|cfg/vnstat.conf|cfg/vnstat.conf.sample|g' \
-e '134,135d' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \
+ ${WRKSRC}/src/cfg.c
post-install:
.if !defined(NOPORTDOCS)