1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/sysutils/nagios-statd/Makefile
Marcus von Appen fae188751b - Convert ports of sysutils/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-24 16:56:10 +00:00

29 lines
801 B
Makefile

# Created by: Jim Shewmaker
# $FreeBSD$
PORTNAME= nagios-statd
PORTVERSION= 3.12
PORTREVISION= 1
CATEGORIES= sysutils python net-mgmt
MASTER_SITES= http://www.twoevils.org/files/netsaint_statd/
MAINTAINER= jims@bluenotch.com
COMMENT= Daemon/client to check remote host information for Nagios
USES= python
USE_RC_SUBR= nagiosstatd
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 ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/sbin/nagios-statd ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/share/man1/nagios-stat.1 \
${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/share/man8/nagios-statd.8 \
${STAGEDIR}${MANPREFIX}/man/man8
.include <bsd.port.mk>