freebsd-ports/net-mgmt/p5-Nagios-Plugin/Makefile
Martin Wilke 0d7e533613 - Update to 0.23
PR:		119228
Submitted by:	Gerrit Beine <gerrit.beine@gmx.de> (maintainer)
2008-01-03 21:03:48 +00:00

45 lines
1.3 KiB
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.23
CATEGORIES= net-mgmt perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../../authors/id/T/TO/TONVOON
PKGNAMEPREFIX= p5-
MAINTAINER= gerrit.beine@gmx.de
COMMENT= Modules to streamline writing Nagios plugins
PERL_CONFIGURE= yes
BUILD_DEPENDS+= ${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor \
${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
${SITE_PERL}/Math/Calc/Units.pm:${PORTSDIR}/math/p5-Math-Calc-Units
RUN_DEPENDS+= ${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor \
${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
${SITE_PERL}/Math/Calc/Units.pm:${PORTSDIR}/math/p5-Math-Calc-Units
MAN3= Nagios::Plugin.3 \
Nagios::Plugin::Config.3 \
Nagios::Plugin::ExitResult.3 \
Nagios::Plugin::Functions.3 \
Nagios::Plugin::Getopt.3 \
Nagios::Plugin::Performance.3 \
Nagios::Plugin::Range.3 \
Nagios::Plugin::Threshold.3 \
.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.mk>