freebsd-ports/dns/p5-Net-DNS/Makefile
Philip M. Gollucci 2cf4c1e2c8 - Remove ports that only work with < perl 5.12 (devel/p5-B-Size, devel/p5-Devel-Arena)
- Remove conditionals for PERL_LEVEL < 501200
- Remove regression-test targets b/c this will be centralized in Mk/bsd.perl.mk
- Other minor cleanups
  RUN_DEPENDS = ${BUILD_DEPENDS} -> RUN_DEPENDS:= ${BUILD_DEPENDS}

PR:             ports/165605
Submitted by:   pgollucci (myself)
Approved by:    portmgr (linimon)
Exp Run by:     linimon
Tested by:      make index
2012-03-08 18:45:38 +00:00

75 lines
2.6 KiB
Makefile

# New ports collection makefile for: p5-Net-DNS
# Date created: April 5th 1997
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Net-DNS
PORTVERSION= 0.68
CATEGORIES= dns net perl5 ipv6
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= dougb@FreeBSD.org
COMMENT= Perl5 interface to the DNS resolver, and dynamic updates
# Warnings during build are harmless, the port does not need these to build
RUN_DEPENDS= ${SITE_PERL}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC
TEST_DEPENDS= ${SITE_PERL}/Test/Pod.pm:${PORTSDIR}/devel/p5-Test-Pod \
${SITE_PERL}/Digest/BubbleBabble.pm:${PORTSDIR}/security/p5-Digest-BubbleBabble
MAKE_JOBS_SAFE= yes
OPTIONS= IPV6 "Enable functionality over IPv6 transport" on \
IDN "Add support for IDN domain names" off
PERL_CONFIGURE= yes
CONFIGURE_ARGS+= --no-online-tests --no-IPv6-tests
MAN3= Net::DNS.3 Net::DNS::Header.3 Net::DNS::Packet.3 \
Net::DNS::Question.3 Net::DNS::RR.3 Net::DNS::RR::A.3 \
Net::DNS::RR::AFSDB.3 Net::DNS::RR::CNAME.3 \
Net::DNS::RR::ISDN.3 Net::DNS::RR::MG.3 \
Net::DNS::RR::HINFO.3 Net::DNS::RR::IPSECKEY.3 \
Net::DNS::RR::MINFO.3 Net::DNS::RR::MR.3 Net::DNS::RR::MX.3 \
Net::DNS::RR::NS.3 Net::DNS::RR::PTR.3 Net::DNS::RR::RP.3 \
Net::DNS::RR::RT.3 Net::DNS::RR::SOA.3 Net::DNS::RR::SRV.3 \
Net::DNS::RR::TXT.3 Net::DNS::RR::X25.3 Net::DNS::Resolver.3 \
Net::DNS::RR::AAAA.3 Net::DNS::RR::EID.3 Net::DNS::RR::LOC.3 \
Net::DNS::RR::MB.3 Net::DNS::RR::NAPTR.3 \
Net::DNS::RR::NIMLOC.3 Net::DNS::RR::NSAP.3 \
Net::DNS::RR::NULL.3 Net::DNS::RR::PX.3 Net::DNS::Update.3 \
Net::DNS::Nameserver.3 Net::DNS::RR::CERT.3 \
Net::DNS::FAQ.3 Net::DNS::RR::TKEY.3 \
Net::DNS::RR::OPT.3 Net::DNS::RR::TSIG.3 Net::DNS::RR::DNAME.3 \
Net::DNS::Resolver::Win32.3 Net::DNS::RR::SSHFP.3 \
Net::DNS::Resolver::Base.3 Net::DNS::Resolver::UNIX.3 \
Net::DNS::RR::Unknown.3 Net::DNS::Resolver::Recurse.3 \
Net::DNS::RR::APL.3 Net::DNS::RR::APL::ApItem.3 \
Net::DNS::RR::DHCID.3 Net::DNS::Domain.3 \
Net::DNS::DomainName.3 Net::DNS::Text.3 Net::DNS::Mailbox.3 \
Net::DNS::RR::KX.3 Net::DNS::RR::HIP.3 \
Net::DNS::Resolver::Cygwin.3 Net::DNS::RR::SPF.3
PORTDOCS= *
.if !defined(WITHOUT_IPV6)
RUN_DEPENDS+= ${SITE_PERL}/IO/Socket/INET6.pm:${PORTSDIR}/net/p5-IO-Socket-INET6
.endif
.if defined(WITH_IDN)
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Net/LibIDN.pm:${PORTSDIR}/dns/p5-Net-LibIDN
.endif
DOCSDIR= ${PREFIX}/share/doc/p5-Net-DNS
DOCS= Changes README TODO
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
.include <bsd.port.mk>