From ed2549015e9cf1b2773dcc45e05d8a10294bd8b0 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Tue, 11 Nov 2003 21:21:47 +0000 Subject: - Update to version 0.15 * add linear bar graphs * optional fixed bandwidth limits * configuration file support --- net-mgmt/iftop/Makefile | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'net-mgmt/iftop/Makefile') diff --git a/net-mgmt/iftop/Makefile b/net-mgmt/iftop/Makefile index 7f6b5d338e1d..2ee2a852e40b 100644 --- a/net-mgmt/iftop/Makefile +++ b/net-mgmt/iftop/Makefile @@ -6,39 +6,34 @@ # PORTNAME= iftop -PORTVERSION= 0.14 +PORTVERSION= 0.15 CATEGORIES= net MASTER_SITES= http://www.ex-parrot.com/~pdw/iftop/download/ MAINTAINER= krion@FreeBSD.org COMMENT= Network utility for real-time bandwidth usage information -MAN8= iftop.8 - GNU_CONFIGURE= yes +CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} USE_REINPLACE= yes -DOC_FILES= README \ - COPYING \ - INSTALL \ - TODO +DOCFILES= README + +MAN8= iftop.8 .include post-patch: - @${REINPLACE_CMD} \ - -e 's|-lpthread|${PTHREAD_LIBS}|g' \ + @${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 + @${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} +.for doc in ${DOCFILES} @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} .endfor .endif -- cgit v1.2.3