summaryrefslogtreecommitdiff
path: root/security/p5-Crypt-GPG/Makefile
blob: ed0a6c34be570f152754f90431bea212ef877a61 (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
# $NetBSD: Makefile,v 1.7 2013/05/31 12:41:54 wiz Exp $
#

DISTNAME=		Crypt-GPG-1.63
PKGNAME=		p5-${DISTNAME}
PKGREVISION=		5
CATEGORIES=		security perl5
MASTER_SITES=		${MASTER_SITE_PERL_CPAN:=Crypt/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://search.cpan.org/~agul/Crypt-GPG/
COMMENT=		Object Oriented Interface to GnuPG

DEPENDS+=		gnupg-[0-9]*:../../security/gnupg
DEPENDS+=		p5-IPC-Run-[0-9]*:../../devel/p5-IPC-Run
DEPENDS+=		p5-File-Temp-[0-9]*:../../devel/p5-File-Temp
DEPENDS+=		p5-TimeDate-[0-9]*:../../time/p5-TimeDate

PKG_INSTALLATION_TYPES=	overwrite pkgviews

# It defaults to a gpg path in /usr/local, which is not helpful
SUBST_CLASSES+=		local
SUBST_FILES.local=	GPG.pm
SUBST_SED.local=	-e s,/usr/local,${PREFIX},
SUBST_STAGE.local=	post-patch

USE_LANGUAGES=		# empty
PERL5_PACKLIST=		auto/Crypt/GPG/.packlist

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