2006-04-06 08:21:32 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2006/04/06 06:22:43 reed Exp $
|
2003-12-04 01:33:02 +01:00
|
|
|
#
|
|
|
|
|
2005-04-20 18:22:38 +02:00
|
|
|
DISTNAME= Net-DNS-SEC-0.12
|
2003-12-04 01:33:02 +01:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
|
|
|
SVR4_PKGNAME= p5nds
|
2005-08-06 08:19:03 +02:00
|
|
|
PKGREVISION= 1
|
2003-12-04 01:33:02 +01:00
|
|
|
CATEGORIES= security net perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
|
|
|
|
|
|
|
|
MAINTAINER= heinz@NetBSD.org
|
2005-10-22 22:05:01 +02:00
|
|
|
HOMEPAGE= http://www.net-dns.org/
|
2003-12-04 01:33:02 +01:00
|
|
|
COMMENT= DNSSEC extension to Net::DNS Perl DNS Resolver Module
|
|
|
|
|
2005-04-20 18:22:38 +02:00
|
|
|
DEPENDS+= p5-Net-DNS>=0.44:../../net/p5-Net-DNS
|
2003-12-04 01:33:02 +01:00
|
|
|
DEPENDS+= p5-Crypt-OpenSSL-RSA>=0.19:../../security/p5-Crypt-OpenSSL-RSA
|
|
|
|
DEPENDS+= p5-Crypt-OpenSSL-Bignum>=0.03:../../security/p5-Crypt-OpenSSL-Bignum
|
|
|
|
DEPENDS+= p5-Crypt-OpenSSL-DSA>=0.10:../../security/p5-Crypt-OpenSSL-DSA
|
|
|
|
DEPENDS+= p5-Digest-SHA1>=2.04:../../security/p5-Digest-SHA1
|
|
|
|
DEPENDS+= p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64
|
|
|
|
DEPENDS+= p5-Digest-BubbleBabble>=0.01:../../security/p5-Digest-BubbleBabble
|
|
|
|
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.perl+= perl>=5.6.1
|
2003-12-04 01:33:02 +01:00
|
|
|
|
2005-07-13 20:01:18 +02:00
|
|
|
PERL5_PACKLIST= auto/Net/DNS/SEC/.packlist
|
2003-12-04 01:33:02 +01:00
|
|
|
|
|
|
|
REPLACE_PERL= demo/getkeyset.pl demo/key2ds demo/make-signed-keyset
|
|
|
|
|
2005-04-20 18:22:38 +02:00
|
|
|
DOCSUBDIR= share/doc/${PKGBASE}
|
|
|
|
EGSUBDIR= share/examples/${PKGBASE}
|
2003-12-04 01:33:02 +01:00
|
|
|
|
2005-04-20 18:22:38 +02:00
|
|
|
INSTALLATION_DIRS+= ${DOCSUBDIR} ${EGSUBDIR}
|
2003-12-04 01:33:02 +01:00
|
|
|
|
|
|
|
SUBST_CLASSES+= p5nds
|
|
|
|
SUBST_STAGE.p5nds= post-install
|
|
|
|
SUBST_FILES.p5nds= demo/getkeyset.pl
|
|
|
|
SUBST_SED.p5nds= -e "1s,-I./blib/lib,,"
|
|
|
|
|
|
|
|
post-install:
|
2005-04-20 18:22:38 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/${DOCSUBDIR}/
|
2003-12-04 01:33:02 +01:00
|
|
|
.for f in getkeyset.pl key2ds make-signed-keyset
|
2005-04-20 18:22:38 +02:00
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/demo/${f} ${PREFIX}/${EGSUBDIR}/
|
2003-12-04 01:33:02 +01:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|