summaryrefslogtreecommitdiff
path: root/security/p5-Net-DNS-SEC/Makefile
blob: d8e0eb249e88c6702449bafc9bc2df76464293ab (plain)
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
48
# $NetBSD: Makefile,v 1.6 2004/12/20 11:31:08 grant Exp $
#

DISTNAME=		Net-DNS-SEC-0.11
PKGNAME=		p5-${DISTNAME}
PKGREVISION=		2
SVR4_PKGNAME=		p5nds
CATEGORIES=		security net perl5
MASTER_SITES=		${MASTER_SITE_PERL_CPAN:=Net/}

MAINTAINER=		heinz@NetBSD.org
HOMEPAGE=		http://www.ripe.net/disi/
COMMENT=		DNSSEC extension to Net::DNS Perl DNS Resolver Module

DEPENDS+=		p5-Net-DNS>=0.40:../../net/p5-Net-DNS
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

BUILDLINK_DEPENDS.perl=	perl>=5.6.1
USE_BUILDLINK3=		YES
USE_PKGINSTALL=		YES

PERL5_PACKLIST=		${PERL5_SITEARCH}/auto/Net/DNS/SEC/.packlist

REPLACE_PERL=		demo/getkeyset.pl demo/key2ds demo/make-signed-keyset

DOCDIR=			${PREFIX}/share/doc/${PKGBASE}
EGDIR=			${PREFIX}/share/examples/${PKGBASE}

OWN_DIRS+=		${DOCDIR} ${EGDIR}

SUBST_CLASSES+=		p5nds
SUBST_STAGE.p5nds=	post-install
SUBST_FILES.p5nds=	demo/getkeyset.pl
SUBST_SED.p5nds=	-e "1s,-I./blib/lib,,"

post-install:
	@${INSTALL_DATA} ${WRKSRC}/README  ${DOCDIR}/
.for f in getkeyset.pl key2ds make-signed-keyset
	@${INSTALL_SCRIPT} ${WRKSRC}/demo/${f} ${EGDIR}/
.endfor

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"