aboutsummaryrefslogtreecommitdiffstats
path: root/dns/p5-Net-DNS/Makefile
blob: 18f88dae3b450447070cbc3ee6143fc748f1f62c (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Created by: James FitzGibbon <jfitz@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Net-DNS
PORTVERSION=    1.05
PORTEPOCH=  1
CATEGORIES= dns net perl5 ipv6
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Perl5 interface to the DNS resolver, and dynamic updates

LICENSE=    MIT

BUILD_DEPENDS=  p5-Digest-HMAC>=1.03:${PORTSDIR}/security/p5-Digest-HMAC
RUN_DEPENDS:=   ${BUILD_DEPENDS}
TEST_DEPENDS=   p5-Digest-BubbleBabble>=0:${PORTSDIR}/security/p5-Digest-BubbleBabble \
        p5-Test-Pod>=0:${PORTSDIR}/devel/p5-Test-Pod

OPTIONS_DEFINE= GOST IDN IPV6 SSHFP
GOST_DESC=  GOST support
SSHFP_DESC= SSH2 Fingerprint support

CONFIGURE_ARGS= --no-IPv6-tests --no-online-tests
NO_ARCH=    yes
USES=       perl5
USE_PERL5=  configure

GOST_BUILD_DEPENDS= p5-Digest-GOST>=0.06:${PORTSDIR}/security/p5-Digest-GOST
GOST_RUN_DEPENDS=   p5-Digest-GOST>=0.06:${PORTSDIR}/security/p5-Digest-GOST
IDN_BUILD_DEPENDS=  p5-Net-LibIDN>=0.12:${PORTSDIR}/dns/p5-Net-LibIDN
IDN_RUN_DEPENDS=    p5-Net-LibIDN>=0.12:${PORTSDIR}/dns/p5-Net-LibIDN
SSHFP_BUILD_DEPENDS=    p5-Digest-BubbleBabble>=0.01:${PORTSDIR}/security/p5-Digest-BubbleBabble
SSHFP_RUN_DEPENDS=  p5-Digest-BubbleBabble>=0.01:${PORTSDIR}/security/p5-Digest-BubbleBabble

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MIPV6} && ${PERL_LEVEL} < 502200
BUILD_DEPENDS=  p5-IO-Socket-IP>=0.32:${PORTSDIR}/net/p5-IO-Socket-IP
RUN_DEPENDS=    p5-IO-Socket-IP>=0.32:${PORTSDIR}/net/p5-IO-Socket-IP
.endif

.include <bsd.port.post.mk>