Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/net/p5-Net-DNS/Makefile 2001/02/17 18:19:21 1.3 +++ pkgsrc/net/p5-Net-DNS/Makefile 2011/08/14 14:14:42 1.45 @@ -1,18 +1,50 @@ -# $NetBSD: Makefile,v 1.3 2001/02/17 18:19:21 wiz Exp $ -# +# $NetBSD: Makefile,v 1.45 2011/08/14 14:14:42 obache Exp $ -DISTNAME= Net-DNS-0.12 +DISTNAME= Net-DNS-0.66 PKGNAME= p5-${DISTNAME} +PKGREVISION= 2 +SVR4_PKGNAME= p5ndn CATEGORIES= net perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} \ + http://www.net-dns.org/download/ -MAINTAINER= hubertf@netbsd.org -COMMENT= Net::DNS - Perl DNS Resolver Module +MAINTAINER= heinz@NetBSD.org +HOMEPAGE= http://www.net-dns.org/ +COMMENT= Perl5 module for DNS resolution +LICENSE= ${PERL5_LICENSE} -USE_PERL5= # defined -PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Net/DNS/.packlist +PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir -do-configure: - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL +BUILD_DEPENDS+= {p5-Test-Simple>=0.44,perl{,-thread}>=5.8.0}:../../devel/p5-Test-Simple +DEPENDS+= p5-Digest-HMAC>=1.0:../../security/p5-Digest-HMAC +DEPENDS+= p5-Digest-MD5>=2.12:../../security/p5-Digest-MD5 +DEPENDS+= p5-MIME-Base64>=2.11:../../converters/p5-MIME-Base64 +DEPENDS+= p5-Net-IP>=1.20:../../net/p5-Net-IP +PKG_OPTIONS_VAR= PKG_OPTIONS.p5-Net-DNS +PKG_SUPPORTED_OPTIONS= inet6 online-tests +PKG_SUGGESTED_OPTIONS= inet6 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +DEPENDS+= p5-IO-Socket-INET6>=2.01:../../net/p5-IO-Socket-INET6 +DEPENDS+= p5-Socket6-[0-9]*:../../net/p5-Socket6 +MAKE_PARAMS+= --IPv6-tests +.else +MAKE_PARAMS+= --no-IPv6-tests +.endif + +.if !empty(PKG_OPTIONS:Monline-tests) +MAKE_PARAMS+= --online-tests +.else +MAKE_PARAMS+= --no-online-tests +.endif + +USE_LANGUAGES= c + +PERL5_PACKLIST= auto/Net/DNS/.packlist + +.include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk"