1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/net-mgmt/iftop/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

29 lines
671 B
Makefile

# Created by: Kirill Ponomarew <ponomarew@oberon.net>
# $FreeBSD$
PORTNAME= iftop
DISTVERSION= 1.0pre4
CATEGORIES= net-mgmt
MASTER_SITES= http://www.ex-parrot.com/~pdw/iftop/download/
MAINTAINER= vd@FreeBSD.org
COMMENT= Display bandwidth usage on an interface by host
LICENSE= GPLv2
USES= ncurses
GNU_CONFIGURE= yes
PORTDOCS= README
PLIST_FILES= sbin/iftop man/man8/iftop.8.gz
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>