summaryrefslogtreecommitdiff
path: root/security/p5-Module-Signature/Makefile
blob: 77d379cf18a20a25766f5c1214d1ce28b8769ad9 (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
# $NetBSD: Makefile,v 1.9 2006/02/05 23:10:45 joerg Exp $
#

DISTNAME=	Module-Signature-0.44
PKGNAME=	p5-${DISTNAME}
SVR4_PKGNAME=	p5ms
PKGREVISION=	2
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Module/}

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://search.cpan.org/dist/Module-Signature/
COMMENT=	Perl5 module adding cryptographic authentications to CPAN distributions

DEPENDS+=	gnupg-[0-9]*:../../security/gnupg
DEPENDS+=	p5-Digest-SHA-[0-9]*:../../security/p5-Digest-SHA
DEPENDS+=	p5-PAR-Dist-[0-9]*:../../devel/p5-PAR-Dist

USE_LANGUAGES=	# empty
PERL5_PACKLIST=	auto/Module/Signature/.packlist

INSTALLATION_DIRS+=	share/Module-Signature

# this package has patch files so the signature check test fails
post-extract:
	${MV} ${WRKSRC}/t/0-signature.t ${WRKSRC}/t/0-signature.t.SKIP

post-install:
	${PKG_SILENT}${PKG_DEBUG}	\
	for f in ${WRKSRC}/*.pub; do	\
		${INSTALL_DATA} $$f ${PREFIX}/share/Module-Signature;	\
	done

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