diff options
author | foxfair <foxfair@FreeBSD.org> | 2003-06-01 09:53:14 +0800 |
---|---|---|
committer | foxfair <foxfair@FreeBSD.org> | 2003-06-01 09:53:14 +0800 |
commit | 53ed89fd84d3a1a2ef3e4288f65e624cf2a301d7 (patch) | |
tree | 125cc739d6e56558dade99a8f1bc4bfb6bb36a25 /net-mgmt/iftop/Makefile | |
parent | 5e151c5aa8ef3a720f7f7306bbaffff505422b3a (diff) | |
download | freebsd-ports-gnome-53ed89fd84d3a1a2ef3e4288f65e624cf2a301d7.tar.gz freebsd-ports-gnome-53ed89fd84d3a1a2ef3e4288f65e624cf2a301d7.tar.zst freebsd-ports-gnome-53ed89fd84d3a1a2ef3e4288f65e624cf2a301d7.zip |
Add iftop 0.12,
network utility for real-time bandwidth usage
information.
PR: 52649
Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
Diffstat (limited to 'net-mgmt/iftop/Makefile')
-rw-r--r-- | net-mgmt/iftop/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-mgmt/iftop/Makefile b/net-mgmt/iftop/Makefile new file mode 100644 index 000000000000..4c5ad8d4cf41 --- /dev/null +++ b/net-mgmt/iftop/Makefile @@ -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> |