summaryrefslogtreecommitdiffstats
path: root/dns/p5-POE-Component-Resolver/Makefile
blob: 2f13ae5096271328ba41a6f1f0b3c10938627588 (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
# New ports collection makefile for:	devel/p5-POE-Component-Resolver
# Date created:				21 February 2011
# Whom:					Jase Thew <freebsd@beardz.net>
#
# $FreeBSD$
#

PORTNAME=	POE-Component-Resolver
PORTVERSION=	0.916
CATEGORIES=	dns devel perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:RCAPUTO
PKGNAMEPREFIX=	p5-

MAINTAINER=	freebsd@beardz.net
COMMENT=	A non-blocking getaddrinfo() resolver

LICENSE=	ART10 GPLv1
LICENSE_COMB=	dual

BUILD_DEPENDS=	p5-POE>=1.311:${PORTSDIR}/devel/p5-POE \
		p5-Scalar-List-Utils>=1.23:${PORTSDIR}/lang/p5-Scalar-List-Utils \
		p5-Socket-GetAddrInfo>=0.19:${PORTSDIR}/net/p5-Socket-GetAddrInfo \
		p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple
RUN_DEPENDS:=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=		POE::Component::Resolver.3 \
		POE::Component::Resolver::Sidecar.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501001
BUILD_DEPENDS+=	p5-Storable>=2.18:${PORTSDIR}/devel/p5-Storable \
		p5-Time-HiRes>=1.9711:${PORTSDIR}/devel/p5-Time-HiRes
RUN_DEPENDS+=	p5-Storable>=2.18:${PORTSDIR}/devel/p5-Storable \
		p5-Time-HiRes>=1.9711:${PORTSDIR}/devel/p5-Time-HiRes
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud