This is the place for common routines when writing Nagios plugins. The idea is to make it as easy as possible for developers to conform to the plugin guidelines (http://nagiosplug.sourceforge.net/developer-guidelines.html). WWW: http://search.cpan.org/dist/Nagios-Plugins/ PR: ports/102391 Submitted by: Gerrit Beine <gerrit.beine(at)gmx.de> Approved by: krion (mentor)
41 lines
948 B
Makefile
41 lines
948 B
Makefile
# New ports collection makefile for: p5-Nagios-Plugin
|
|
# Date created: 13 08 2006
|
|
# Whom: Gerrit Beine <gerrit.beine@gmx.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Nagios-Plugin
|
|
PORTVERSION= 0.12
|
|
CATEGORIES= net-mgmt perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= ../../authors/id/T/TO/TONVOON
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= gerrit.beine@gmx.de
|
|
COMMENT= Object oriented helper routines for Nagios plugin
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Nagios::Plugin.3 \
|
|
Nagios::Plugin::Base.3 \
|
|
Nagios::Plugin::Performance.3 \
|
|
Nagios::Plugin::Range.3 \
|
|
Nagios::Plugin::Threshold.3 \
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
BROKEN= This port requires FreeBSD 5-STABLE.
|
|
.endif
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= Changes README
|
|
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|