aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/p5-Nagios-Plugin/Makefile
blob: d332b198707bb48aee219dfcd7cea72145e2a616 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$

PORTNAME=   Nagios-Plugin
PORTVERSION=    0.36
PORTREVISION=   1
CATEGORIES= net-mgmt perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:TONVOON
PKGNAMEPREFIX=  p5-

MAINTAINER= gjb@FreeBSD.org
COMMENT=    Modules to streamline writing Nagios plugins

BUILD_DEPENDS=  p5-Class-Accessor>=0:devel/p5-Class-Accessor \
        p5-Params-Validate>=0:devel/p5-Params-Validate \
        p5-Math-Calc-Units>=0:math/p5-Math-Calc-Units \
        p5-Config-Tiny>=0:devel/p5-Config-Tiny
RUN_DEPENDS:=   ${BUILD_DEPENDS}

USES=       perl5
USE_PERL5=  configure

PORTDOCS=   Changes README

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>