aboutsummaryrefslogtreecommitdiffstats
path: root/dns/p5-Net-DNS/Makefile
blob: 48d9b681ca1af1fb2b7f5e3d272c9f5820a48ff9 (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
45
46
47
# Created by: James FitzGibbon <jfitz@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Net-DNS
PORTVERSION=    1.16
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

TEST_DEPENDS=   p5-Digest-BubbleBabble>=0:security/p5-Digest-BubbleBabble \
        p5-Test-Pod>=0:devel/p5-Test-Pod

OPTIONS_DEFINE= IDN IDN2 IPV6 SSHFP TSIG
OPTIONS_DEFAULT=TSIG
IDN_DESC=   International Domain Names support via Net::LibIDN
IDN2_DESC=  International Domain Names support via Net::LibIDN2
SSHFP_DESC= SSH2 Fingerprint support
TSIG_DESC=  Transaction Signature Support

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

IDN_BUILD_DEPENDS=  p5-Net-LibIDN>=0.12:dns/p5-Net-LibIDN
IDN_RUN_DEPENDS=    p5-Net-LibIDN>=0.12:dns/p5-Net-LibIDN
IDN2_BUILD_DEPENDS= p5-Net-LibIDN2>=1:dns/p5-Net-LibIDN2
IDN2_RUN_DEPENDS=   p5-Net-LibIDN2>=1:dns/p5-Net-LibIDN2
SSHFP_BUILD_DEPENDS=    p5-Digest-BubbleBabble>=0.01:security/p5-Digest-BubbleBabble
SSHFP_RUN_DEPENDS=  p5-Digest-BubbleBabble>=0.01:security/p5-Digest-BubbleBabble
TSIG_BUILD_DEPENDS= p5-Digest-HMAC>=1.03:security/p5-Digest-HMAC
TSIG_RUN_DEPENDS=   p5-Digest-HMAC>=1.03:security/p5-Digest-HMAC

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MIPV6} && ${PERL_LEVEL} < 502504
BUILD_DEPENDS+= p5-IO-Socket-IP>=0.38:net/p5-IO-Socket-IP
RUN_DEPENDS+=   p5-IO-Socket-IP>=0.38:net/p5-IO-Socket-IP
.endif

.include <bsd.port.post.mk>