freebsd-ports/dns/p5-Net-DNS/Makefile
2018-02-09 14:08:00 +00:00

47 lines
1.5 KiB
Makefile

# Created by: James FitzGibbon <jfitz@FreeBSD.org>
# $FreeBSD$
PORTNAME= Net-DNS
PORTVERSION= 1.15
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>