2018-08-29 08:27:47 +02:00
|
|
|
# $NetBSD: Makefile,v 1.37 2018/08/29 06:27:47 wiz Exp $
|
2004-11-11 19:11:58 +01:00
|
|
|
|
2018-08-29 08:27:47 +02:00
|
|
|
DISTNAME= Module-Signature-0.82
|
2004-11-11 19:11:58 +01:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
|
|
|
CATEGORIES= devel perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Module/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-11-11 19:11:58 +01:00
|
|
|
HOMEPAGE= http://search.cpan.org/dist/Module-Signature/
|
2010-05-24 18:02:28 +02:00
|
|
|
COMMENT= Perl 5 module for module signature file manipulation
|
2009-12-15 14:28:13 +01:00
|
|
|
LICENSE= public-domain
|
2004-11-11 19:11:58 +01:00
|
|
|
|
2010-09-08 23:15:28 +02:00
|
|
|
#DEPENDS+= gnupg-[0-9]*:../../security/gnupg
|
2015-07-12 20:56:06 +02:00
|
|
|
#DEPENDS+= {perl>=5.10.0,p5-Digest-SHA-[0-9]*}:../../security/p5-Digest-SHA
|
2010-09-08 23:15:28 +02:00
|
|
|
DEPENDS+= p5-Crypt-OpenPGP>=1.00:../../security/p5-Crypt-OpenPGP
|
|
|
|
|
|
|
|
# OpenPGP dependencies used
|
|
|
|
DEPENDS+= p5-Class-Loader-[0-9]*:../../devel/p5-Class-Loader
|
|
|
|
DEPENDS+= p5-Convert-ASCII-Armour-[0-9]*:../../textproc/p5-Convert-ASCII-Armour
|
|
|
|
DEPENDS+= p5-Convert-ASN1-[0-9]*:../../textproc/p5-Convert-ASN1
|
|
|
|
DEPENDS+= p5-Convert-PEM-[0-9]*:../../textproc/p5-Convert-PEM
|
|
|
|
DEPENDS+= p5-Crypt-Blowfish-[0-9]*:../../security/p5-Crypt-Blowfish
|
|
|
|
DEPENDS+= p5-Crypt-CBC-[0-9]*:../../security/p5-Crypt-CBC
|
|
|
|
DEPENDS+= p5-Crypt-DES-[0-9]*:../../security/p5-Crypt-DES
|
|
|
|
DEPENDS+= p5-Crypt-DES_EDE3-[0-9]*:../../security/p5-Crypt-DES_EDE3
|
|
|
|
DEPENDS+= p5-Crypt-DSA>=1.16nb1:../../security/p5-Crypt-DSA
|
|
|
|
DEPENDS+= p5-Crypt-RIPEMD160>=0.04nb4:../../security/p5-Crypt-RIPEMD160
|
|
|
|
DEPENDS+= p5-Crypt-RSA-[0-9]*:../../security/p5-Crypt-RSA
|
|
|
|
DEPENDS+= p5-Crypt-Random-[0-9]*:../../security/p5-Crypt-Random
|
|
|
|
DEPENDS+= p5-Crypt-Rijndael-[0-9]*:../../security/p5-Crypt-Rijndael
|
|
|
|
DEPENDS+= p5-Crypt-Primes-[0-9]*:../../security/p5-Crypt-Primes
|
|
|
|
DEPENDS+= p5-Crypt-Twofish>=2.00:../../security/p5-Crypt-Twofish
|
|
|
|
DEPENDS+= p5-Data-Buffer>=0.04:../../devel/p5-Data-Buffer
|
|
|
|
DEPENDS+= p5-Digest-MD2-[0-9]*:../../security/p5-Digest-MD2
|
|
|
|
DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
|
2015-07-12 20:56:06 +02:00
|
|
|
#DEPENDS+= {perl>=5.9.3,p5-IO-Compress-[0-9]*}:../../devel/p5-IO-Compress # Compress::Zlib
|
2010-09-08 23:15:28 +02:00
|
|
|
DEPENDS+= p5-File-HomeDir-[0-9]*:../../devel/p5-File-HomeDir
|
2014-06-11 22:17:58 +02:00
|
|
|
DEPENDS+= p5-IPC-Run-[0-9]*:../../devel/p5-IPC-Run
|
2010-09-08 23:15:28 +02:00
|
|
|
DEPENDS+= p5-Math-Pari-[0-9]*:../../math/p5-Math-Pari
|
2015-07-12 20:56:06 +02:00
|
|
|
#DEPENDS+= {perl>=5.7.3,p5-MIME-Base64-[0-9]*}:../../converters/p5-MIME-Base64
|
2010-09-08 23:15:28 +02:00
|
|
|
DEPENDS+= p5-Text-Diff-[0-9]*:../../textproc/p5-Text-Diff
|
2007-06-13 11:50:46 +02:00
|
|
|
|
|
|
|
USE_LANGUAGES= # empty
|
|
|
|
PERL5_PACKLIST= auto/Module/Signature/.packlist
|
2004-11-11 19:11:58 +01:00
|
|
|
|
|
|
|
INSTALLATION_DIRS+= share/Module-Signature
|
|
|
|
|
2010-09-08 23:15:28 +02:00
|
|
|
PERL5_MODULE_TYPE= Module::Install::Bundled
|
|
|
|
MAKE_ENV+= TEST_SIGNATURE=1
|
2018-08-29 08:27:47 +02:00
|
|
|
# two self test failures in 0.82:
|
|
|
|
# https://github.com/audreyt/module-signature/issues/23
|
2009-08-10 08:40:38 +02:00
|
|
|
|
2004-11-11 19:11:58 +01:00
|
|
|
# this package has patch files so the signature check test fails
|
2010-09-08 23:15:28 +02:00
|
|
|
#post-extract:
|
|
|
|
# ${MV} ${WRKSRC}/t/0-signature.t ${WRKSRC}/t/0-signature.t.SKIP
|
2004-11-11 19:11:58 +01:00
|
|
|
|
|
|
|
post-install:
|
2010-05-24 18:02:28 +02:00
|
|
|
${RUN} for f in ${WRKSRC}/*.pub; do ${INSTALL_DATA} "$$f" \
|
|
|
|
${DESTDIR}${PREFIX}/share/Module-Signature; \
|
2004-11-11 19:11:58 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|