1087a13739
Nagios-statd is an addon to the Nagios (formerly netsaint) program. It is a Python daemon and scripts that plug-in to Nagios and allow you to check remote host information (such as load, users, filesystems, etc.) Released under the BSD license. Author: Nick Reinking WWW: http://www.twoevils.org/html/files.php PR: 59029 Submitted by: Jim Shewmaker <jim@bluenotch.com>
33 lines
909 B
Makefile
33 lines
909 B
Makefile
# New ports collection makefile for: nagios-statd
|
|
# Date created: 2003-11-06
|
|
# Whom: Jim Shewmaker
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= nagios-statd
|
|
PORTVERSION= 3.09
|
|
CATEGORIES= sysutils python
|
|
MASTER_SITES= http://www.twoevils.org/files/netsaint_statd/
|
|
|
|
MAINTAINER= jims@bluenotch.com
|
|
COMMENT= Daemon/client to check remote host information for Nagios
|
|
|
|
USE_PYTHON= yes
|
|
USE_REINPLACE= yes
|
|
|
|
MAN1= nagios-stat.1
|
|
MAN8= nagios-statd.8
|
|
|
|
do-build:
|
|
${REINPLACE_CMD} -e 's,/usr/bin/python,/usr/bin/env python,' \
|
|
${WRKSRC}/bin/* ${WRKSRC}/sbin/*
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/nagios-stat ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/sbin/nagios-statd ${PREFIX}/sbin
|
|
${INSTALL_SCRIPT} ${FILESDIR}/nagios-statd.sh.sample ${PREFIX}/etc/rc.d
|
|
${INSTALL_MAN} ${WRKSRC}/share/man1/nagios-stat.1 ${PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/share/man8/nagios-statd.8 ${PREFIX}/man/man8
|
|
|
|
.include <bsd.port.mk>
|