d2ca14a3f1
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
49 lines
1.7 KiB
Makefile
49 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.25 2013/05/31 12:41:56 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= Net-DNS-SEC-0.16
|
|
PKGNAME= p5-${DISTNAME}
|
|
PKGREVISION= 5
|
|
SVR4_PKGNAME= p5nds
|
|
CATEGORIES= security net perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.net-dns.org/
|
|
COMMENT= DNSSEC extension to Net::DNS Perl DNS Resolver Module
|
|
LICENSE= modified-bsd
|
|
|
|
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-Crypt-OpenSSL-RSA>=0.27:../../security/p5-Crypt-OpenSSL-RSA
|
|
DEPENDS+= p5-Digest-BubbleBabble>=0.01:../../security/p5-Digest-BubbleBabble
|
|
DEPENDS+= {perl>=5.10.0,p5-Digest-SHA>=5.23}:../../security/p5-Digest-SHA
|
|
DEPENDS+= p5-Digest-SHA1>=2.04:../../security/p5-Digest-SHA1
|
|
DEPENDS+= p5-MIME-Base32-[0-9]*:../../converters/p5-MIME-Base32
|
|
DEPENDS+= {perl>=5.7.3,p5-MIME-Base64-[0-9]*}:../../converters/p5-MIME-Base64
|
|
DEPENDS+= p5-Net-DNS>=0.64:../../net/p5-Net-DNS
|
|
|
|
BUILDLINK_API_DEPENDS.perl+= perl>=5.6.1
|
|
|
|
PERL5_PACKLIST= auto/Net/DNS/SEC/.packlist
|
|
|
|
REPLACE_PERL= demo/getkeyset.pl demo/key2ds demo/make-signed-keyset
|
|
|
|
DOCSUBDIR= share/doc/${PKGBASE}
|
|
EGSUBDIR= share/examples/${PKGBASE}
|
|
|
|
INSTALLATION_DIRS+= ${DOCSUBDIR} ${EGSUBDIR}
|
|
|
|
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 ${DESTDIR}${PREFIX}/${DOCSUBDIR}
|
|
.for f in getkeyset.pl key2ds make-signed-keyset
|
|
${INSTALL_SCRIPT} ${WRKSRC}/demo/${f} ${DESTDIR}${PREFIX}/${EGSUBDIR}
|
|
.endfor
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|