diff options
author | Foxfair Hu <foxfair@FreeBSD.org> | 2003-06-01 01:53:14 +0000 |
---|---|---|
committer | Foxfair Hu <foxfair@FreeBSD.org> | 2003-06-01 01:53:14 +0000 |
commit | f06c85471235145ff7a8639db687136cd73bfad0 (patch) | |
tree | 52830464accf0d3d93d80a5320ce42490d09b5a1 /net-mgmt/iftop/Makefile | |
parent | Add tentakel 0.3.1, (diff) |
Add iftop 0.12,
network utility for real-time bandwidth usage
information.
PR: 52649
Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
Notes
Notes:
svn path=/head/; revision=81822
Diffstat (limited to '')
-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> |