aboutsummaryrefslogtreecommitdiffstats
path: root/net/vnstat
diff options
context:
space:
mode:
authordhn <dhn@FreeBSD.org>2009-08-15 18:40:04 +0800
committerdhn <dhn@FreeBSD.org>2009-08-15 18:40:04 +0800
commit0ad759434a8cd30fa0f2fa947f621385999f3206 (patch)
treed9ee79c3041711c318b411de308b95ae89eb43ac /net/vnstat
parente84f6a86b29786a278e57edcd383d60c5f531037 (diff)
downloadfreebsd-ports-gnome-0ad759434a8cd30fa0f2fa947f621385999f3206.tar.gz
freebsd-ports-gnome-0ad759434a8cd30fa0f2fa947f621385999f3206.tar.zst
freebsd-ports-gnome-0ad759434a8cd30fa0f2fa947f621385999f3206.zip
- Update to 1.8
Diffstat (limited to 'net/vnstat')
-rw-r--r--net/vnstat/Makefile11
-rw-r--r--net/vnstat/distinfo6
2 files changed, 9 insertions, 8 deletions
diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile
index a6807c7f7d98..6bfcd047013c 100644
--- a/net/vnstat/Makefile
+++ b/net/vnstat/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= vnstat
-PORTVERSION= 1.7
-PORTREVISION= 2
+PORTVERSION= 1.8
CATEGORIES= net
MASTER_SITES= http://humdi.net/vnstat/ \
http://mirror.mcx2.org/
@@ -21,7 +20,8 @@ MAKE_ARGS= CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
INSTALL_TARGET= bsdinstall
-MAN1= vnstat.1 vnstatd.1 vnstati.1 vnstat.conf.1
+MAN1= vnstat.1 vnstatd.1 vnstati.1
+MAN5= vnstat.conf.5
MANCOMPRESSED= yes
PORTDOCS= README INSTALL_BSD UPGRADE vnstat-cron
SUB_FILES= pkg-message
@@ -32,7 +32,7 @@ PLIST_FILES= bin/vnstat \
etc/vnstat.conf.sample
post-extract:
- @cd ${WRKSRC} && ${CP} cron/vnstat vnstat-cron
+ @cd ${WRKSRC} && ${CP} examples/vnstat.cron vnstat-cron
@cd ${WRKSRC} && ${CP} cfg/vnstat.conf cfg/vnstat.conf.sample
@${REINPLACE_CMD} -e 's|/usr/bin|/usr/local/bin|g' \
-e 's|ls /var/lib|ls -l /var/db|g' ${WRKSRC}/vnstat-cron
@@ -40,7 +40,8 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e 's|$$(DESTDIR)|${PREFIX}|g' \
-e 's|cfg/vnstat.conf|cfg/vnstat.conf.sample|g' \
- -e '134,135d' ${WRKSRC}/Makefile
+ -e 's|etc/vnstat.conf|etc/vnstat.conf.sample|g' \
+ -e 's|install -D|install|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \
${WRKSRC}/src/cfg.c
diff --git a/net/vnstat/distinfo b/net/vnstat/distinfo
index 415b614d9073..3290531b26e0 100644
--- a/net/vnstat/distinfo
+++ b/net/vnstat/distinfo
@@ -1,3 +1,3 @@
-MD5 (vnstat-1.7.tar.gz) = e5788e8122e34f2c93561e2a84c19432
-SHA256 (vnstat-1.7.tar.gz) = 146ed44226dbb83e42a1f73052e674e5c859f6ff3700501c1429f7af1d3952ca
-SIZE (vnstat-1.7.tar.gz) = 61879
+MD5 (vnstat-1.8.tar.gz) = 99a30716b5013e7e249e500ee6ee2985
+SHA256 (vnstat-1.8.tar.gz) = fc0587b7b4cfdf8a48353ee8edb1c524c8aac3bf06f99d34eb2eaa3faed38ffa
+SIZE (vnstat-1.8.tar.gz) = 71325