diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/vnstat/Makefile | 11 | ||||
-rw-r--r-- | net/vnstat/distinfo | 6 |
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 |