summaryrefslogtreecommitdiff
path: root/net-mgmt/iftop/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-11 21:21:47 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-11 21:21:47 +0000
commited2549015e9cf1b2773dcc45e05d8a10294bd8b0 (patch)
treed695385044416eefc4794997cfb24ca5a868adcc /net-mgmt/iftop/Makefile
parentUpgrade IPv6 patch. (diff)
- Update to version 0.15
* add linear bar graphs * optional fixed bandwidth limits * configuration file support
Notes
Notes: svn path=/head/; revision=93755
Diffstat (limited to 'net-mgmt/iftop/Makefile')
-rw-r--r--net-mgmt/iftop/Makefile23
1 files changed, 9 insertions, 14 deletions
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 <bsd.port.pre.mk>
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