- Fix wrong config PATH in cfg.c

- Bump PORTREVISION

PR:		ports/136210
Submitted by:	mas kassem <m129kss@omgp.ru>
This commit is contained in:
Dennis Herrmann 2009-07-01 15:33:12 +00:00
parent c45b199f55
commit 0659d0e9fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=236872

View File

@ -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)