freebsd-ports/sysutils/hatop/Makefile
Bernhard Froehlich 5d2c7452eb HATop is an interactive ncurses client and real-time monitoring
statistics displaying tool for the HAProxy unix socket.

HATop's appearance is similar to top. It supports various modes for
detailed statistics of all configured proxies and services in near
realtime. In addition, it features an interactive CLI for the haproxy
unix socket. This allows administrators to control the given haproxy
instance (change server weight, put servers into maintenance mode,
etc.) directly out of hatop (using keybinds or the CLI) and monitor the
results immediately.

WWW:	http://feurix.org/projects/hatop/

PR:		ports/149719
Submitted by:	Jim Riggs <ports at christianserving dot org> (maintainer)
Approved by:	beat (co-mentor)
2010-08-21 15:42:26 +00:00

36 lines
813 B
Makefile

# New ports collection makefile for: hatop
# Date created: 2010-08-16
# Whom: Jim Riggs <ports@christianserving.org>
#
# $FreeBSD$
#
PORTNAME= hatop
PORTVERSION= 0.7.6
CATEGORIES= sysutils net
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= ports@christianserving.org
COMMENT= An interactive real-time monitoring tool for the HAProxy unix socket
RUN_DEPENDS= ${LOCALBASE}/sbin/haproxy:${PORTSDIR}/net/haproxy
USE_PYTHON= yes
NO_BUILD= yes
LICENSE= GPLv3
PLIST_FILES= bin/hatop
PORTDOCS= HACKING KEYBINDS README
MAN1= hatop.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/hatop ${PREFIX}/bin/hatop
${INSTALL_MAN} ${WRKSRC}/man/hatop.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${DOCSDIR})
.endif
.include <bsd.port.mk>