summaryrefslogtreecommitdiff
path: root/net-mgmt/iftop/Makefile
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2015-01-31 08:36:37 +0000
committerVasil Dimov <vd@FreeBSD.org>2015-01-31 08:36:37 +0000
commit825c3dca1da2914736bb03d14ad8b0dff1694212 (patch)
tree698b5af3b338207a43f705f4377a0b7a1f872e0a /net-mgmt/iftop/Makefile
parent- update to 5.45 (diff)
Upgrade net-mgmt/iftop from 0.17 to 1.0pre4
Notes
Notes: svn path=/head/; revision=378193
Diffstat (limited to '')
-rw-r--r--net-mgmt/iftop/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/net-mgmt/iftop/Makefile b/net-mgmt/iftop/Makefile
index 861f31a662f8..18b2dd7f08a8 100644
--- a/net-mgmt/iftop/Makefile
+++ b/net-mgmt/iftop/Makefile
@@ -2,25 +2,26 @@
# $FreeBSD$
PORTNAME= iftop
-PORTVERSION= 0.17
+DISTVERSION= 1.0pre4
CATEGORIES= net-mgmt
MASTER_SITES= http://www.ex-parrot.com/~pdw/iftop/download/
MAINTAINER= vd@FreeBSD.org
COMMENT= Display bandwidth usage on an interface by host
+LICENSE= GPLv2
+
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-resolver=netdb_1thread
PORTDOCS= README
-PLIST_FILES= bin/iftop man/man8/iftop.8.gz
+PLIST_FILES= sbin/iftop man/man8/iftop.8.gz
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/configure
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}