summaryrefslogtreecommitdiff
path: root/security/p5-Module-Signature/Makefile
blob: 95d20707755eb27eda66f994ecb015ce604f540a (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
# $NetBSD: Makefile,v 1.12 2007/06/13 09:50:46 heinz Exp $
#

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

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

PKG_DESTDIR_SUPPORT=	user-destdir

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	\
		${DESTDIR:Q}${PREFIX:Q}/share/Module-Signature;	\
	done

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