aboutsummaryrefslogtreecommitdiffstats
path: root/net/nload
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2009-11-15 20:05:20 +0800
committerehaupt <ehaupt@FreeBSD.org>2009-11-15 20:05:20 +0800
commit4026b01942642288d5f56b6bec991236773c27c7 (patch)
tree518e686e7e02d0c72697fe33086ad352a1dfdf9f /net/nload
parent38415d5f08f0da03bfa8d4a4398c6f7f07cce953 (diff)
downloadfreebsd-ports-gnome-4026b01942642288d5f56b6bec991236773c27c7.tar.gz
freebsd-ports-gnome-4026b01942642288d5f56b6bec991236773c27c7.tar.zst
freebsd-ports-gnome-4026b01942642288d5f56b6bec991236773c27c7.zip
- 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>
Diffstat (limited to 'net/nload')
-rw-r--r--net/nload/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/nload/Makefile b/net/nload/Makefile
index 0411da68d9aa..9c894c6ac591 100644
--- a/net/nload/Makefile
+++ b/net/nload/Makefile
@@ -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>