diff options
Diffstat (limited to 'net-mgmt/iftop/Makefile')
-rw-r--r-- | net-mgmt/iftop/Makefile | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/net-mgmt/iftop/Makefile b/net-mgmt/iftop/Makefile index 62215f0eb3f3..14c9ea29c156 100644 --- a/net-mgmt/iftop/Makefile +++ b/net-mgmt/iftop/Makefile @@ -7,38 +7,37 @@ PORTNAME= iftop PORTVERSION= 0.16 +PORTREVISION= 1 CATEGORIES= net-mgmt -MASTER_SITES= http://www.ex-parrot.com/~pdw/iftop/download/ \ - http://voodoo.oberon.net/ +MASTER_SITES= http://www.ex-parrot.com/~pdw/iftop/download/ -MAINTAINER= ports@FreeBSD.org -COMMENT= Network utility for real-time bandwidth usage information +MAINTAINER= vd@datamax.bg +COMMENT= Display bandwidth usage on an interface by host GNU_CONFIGURE= yes CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --with-resolver=netdb_1thread USE_REINPLACE= yes MAN8= iftop.8 +.if !defined(NOPORTDOCS) PORTDOCS= README +.endif PLIST_FILES= bin/iftop -.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 ${MANPREFIX}/man/man8 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MAN8PREFIX}/man/man8 post-install: -.ifndef (NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for i in README - @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} -.endfor +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |