- Change configuration file path from /etc/nload.conf to

${PREFIX}/etc/nload.conf
- bump PORTREVISION

PR:		140566 (based on)
Submitted by:	Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw>
This commit is contained in:
Emanuel Haupt 2009-11-15 12:05:20 +00:00
parent 7c386fec75
commit 9cc0e579dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=244291

View file

@ -7,6 +7,7 @@
PORTNAME= nload
PORTVERSION= 0.7.2
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= CRITICAL SF
@ -15,8 +16,13 @@ COMMENT= Console application which monitors network traffic in real time
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
MANCOMPRESSED= yes
MAN1= nload.1
PLIST_FILES= bin/nload
post-patch:
@${REINPLACE_CMD} -e "s|\(/etc/nload\.conf\)|${PREFIX}\1|" \
${WRKSRC}/docs/nload.1.in ${WRKSRC}/src/main.cpp
.include <bsd.port.mk>