mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
Add iftop 0.12,
network utility for real-time bandwidth usage information. PR: 52649 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
This commit is contained in:
parent
af208741d2
commit
f06c854712
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81822
43
net-mgmt/iftop/Makefile
Normal file
43
net-mgmt/iftop/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# New ports collection makefile for: iftop
|
||||
# Date created: 24 May 2003
|
||||
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= iftop
|
||||
PORTVERSION= 0.12
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.ex-parrot.com/~pdw/iftop/download/
|
||||
|
||||
MAINTAINER= ponomarew@oberon.net
|
||||
COMMENT= Network utility for real-time bandwidth usage information
|
||||
|
||||
MAN8= iftop.8
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_REINPLACE= yes
|
||||
DOC_FILES= README \
|
||||
COPYING \
|
||||
INSTALL \
|
||||
TODO
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
|
||||
${WRKSRC}/configure
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8/
|
||||
|
||||
post-install:
|
||||
.ifndef (NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
|
||||
.for doc in ${DOC_FILES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
net-mgmt/iftop/distinfo
Normal file
1
net-mgmt/iftop/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (iftop-0.12.tar.gz) = 5bebdc96f775420c314f037182c3a993
|
4
net-mgmt/iftop/pkg-descr
Normal file
4
net-mgmt/iftop/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
iftop provides real-time bandwidth usage information on a
|
||||
specified interface, listed by host pairs.
|
||||
|
||||
WWW: http://www.ex-parrot.com/~pdw/iftop/
|
6
net-mgmt/iftop/pkg-plist
Normal file
6
net-mgmt/iftop/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
bin/iftop
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
@dirrm %%PORTDOCS%%%%DOCSDIR%%
|
@ -221,6 +221,7 @@
|
||||
SUBDIR += icqnix
|
||||
SUBDIR += idnkit
|
||||
SUBDIR += ifstat
|
||||
SUBDIR += iftop
|
||||
SUBDIR += imcom
|
||||
SUBDIR += iog
|
||||
SUBDIR += ip6_int
|
||||
|
43
net/iftop/Makefile
Normal file
43
net/iftop/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# New ports collection makefile for: iftop
|
||||
# Date created: 24 May 2003
|
||||
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= iftop
|
||||
PORTVERSION= 0.12
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.ex-parrot.com/~pdw/iftop/download/
|
||||
|
||||
MAINTAINER= ponomarew@oberon.net
|
||||
COMMENT= Network utility for real-time bandwidth usage information
|
||||
|
||||
MAN8= iftop.8
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_REINPLACE= yes
|
||||
DOC_FILES= README \
|
||||
COPYING \
|
||||
INSTALL \
|
||||
TODO
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
|
||||
${WRKSRC}/configure
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8/
|
||||
|
||||
post-install:
|
||||
.ifndef (NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
|
||||
.for doc in ${DOC_FILES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
net/iftop/distinfo
Normal file
1
net/iftop/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (iftop-0.12.tar.gz) = 5bebdc96f775420c314f037182c3a993
|
4
net/iftop/pkg-descr
Normal file
4
net/iftop/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
iftop provides real-time bandwidth usage information on a
|
||||
specified interface, listed by host pairs.
|
||||
|
||||
WWW: http://www.ex-parrot.com/~pdw/iftop/
|
6
net/iftop/pkg-plist
Normal file
6
net/iftop/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
bin/iftop
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
@dirrm %%PORTDOCS%%%%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user