pkgsrc/net/bmon/Makefile
minskim fb1195f532 Import bmon from pkgsrc-wip. Packaged by hsaliak at gmail dot com, and
slightly modified by me.

Bmon is an interface bandwidth monitor.  It is able to generate and
draw three types of diagrams: The overview diagram which is a list of
all interfaces and their send/receive rates.  A very MRTG like
graphical diagram in ASCII showing the rate over a specific time
period in a bar diagram.  The details diagram which contains all
counters of an interface such as total bytes sent/received, errors,
compressed packets and so on.
2004-11-07 18:49:13 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2004/11/07 18:49:13 minskim Exp $
#
DISTNAME= bmon-2.0.1
CATEGORIES= net
MASTER_SITES= http://people.suug.ch/~tgr/bmon/files/
MAINTAINER= hsaliak@gmail.com
HOMEPAGE= http://people.suug.ch/~tgr/bmon/
COMMENT= Bmon is an interface bandwidth monitor
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
MAKEFILE= GNUmakefile
USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
USE_PKGINSTALL= YES
# In NetBSD 1.6.x the native curses implementation has problems with bmon.
# So mark it as incompatible and link bmon against the
# 3rd party ncurses library in NetBSD 1.6.x.
INCOMPAT_CURSES= NetBSD-1.6*-*
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
EGDIR= ${PREFIX}/share/examples/bmon
CONF_FILES= ${EGDIR}/bmon.conf ${PKG_SYSCONFDIR}/bmon.conf
INSTALLATION_DIRS= bin man/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/bmon ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/bmon.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bmon
${INSTALL_DATA} ${WRKSRC}/etc/bmon.conf \
${PREFIX}/share/examples/bmon/bmon.conf
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"