summaryrefslogtreecommitdiff
path: root/net-mgmt/p5-Net-NSCA-Client/Makefile
blob: 461e4acd0ff0190f1540bac66ceeb5adab82dd9e (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

PORTNAME=	Net-NSCA-Client
PORTVERSION=	0.009002
PORTREVISION=	2
CATEGORIES=	net-mgmt perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Perl extension for sending passive service checks to nagios

RUN_DEPENDS=	p5-Const-Fast>=0.013:devel/p5-Const-Fast \
		p5-Convert-Binary-C>=0.76:converters/p5-Convert-Binary-C \
		p5-Data-Rand>=0.0.4:devel/p5-Data-Rand \
		p5-Data-Rand-Obscure>=0.021:devel/p5-Data-Rand-Obscure \
		p5-Data-Validate-Domain>=0.10:dns/p5-Data-Validate-Domain \
		p5-Digest-CRC>=0.18:security/p5-Digest-CRC \
		p5-Moose>=0.89:devel/p5-Moose \
		p5-MooseX-Clone>=0.05:devel/p5-MooseX-Clone \
		p5-MooseX-StrictConstructor>=0.08:devel/p5-MooseX-StrictConstructor \
		p5-MooseX-Types>=0.35:devel/p5-MooseX-Types \
		p5-MooseX-Types-PortNumber>=0.02:devel/p5-MooseX-Types-PortNumber \
		p5-namespace-clean>=0.04:devel/p5-namespace-clean \
		p5-List-MoreUtils>0:lang/p5-List-MoreUtils
BUILD_DEPENDS=	p5-Const-Fast>=0.013:devel/p5-Const-Fast \
		p5-Convert-Binary-C>=0.76:converters/p5-Convert-Binary-C \
		p5-Data-Rand>=0.0.4:devel/p5-Data-Rand \
		p5-Data-Rand-Obscure>=0.021:devel/p5-Data-Rand-Obscure \
		p5-Data-Section>=0.101621:devel/p5-Data-Section \
		p5-Data-Validate-Domain>=0.10:dns/p5-Data-Validate-Domain \
		p5-Digest-CRC>=0.18:security/p5-Digest-CRC \
		p5-Moose>=0.89:devel/p5-Moose \
		p5-MooseX-Clone>=0.05:devel/p5-MooseX-Clone \
		p5-MooseX-StrictConstructor>=0.08:devel/p5-MooseX-StrictConstructor \
		p5-MooseX-Types>=0.35:devel/p5-MooseX-Types \
		p5-MooseX-Types-PortNumber>=0.02:devel/p5-MooseX-Types-PortNumber \
		p5-namespace-clean>=0.04:devel/p5-namespace-clean
TEST_DEPENDS=	p5-Test-Class>=0.37:devel/p5-Test-Class \
		p5-Test-Command>=0.08:devel/p5-Test-Command \
		p5-Test-Fatal>=0.010:devel/p5-Test-Fatal \
		p5-Test-Requires>=0.06:devel/p5-Test-Requires \
		p5-Test-TCP>=1.17:devel/p5-Test-TCP

USES=		perl5
USE_PERL5=	modbuild

post-patch:
	@cd ${WRKSRC} && ${RM} bin/send_nsca
	@cd ${WRKSRC} && ${RM} t/send_nsca.t

.include <bsd.port.mk>