summaryrefslogtreecommitdiff
path: root/security/pgpenvelope/Makefile
blob: c89756555966c282fa6933f9abf0700b438b04b6 (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
# $NetBSD: Makefile,v 1.21 2016/07/09 06:38:56 wiz Exp $
#

DISTNAME=		pgpenvelope-2.10.2
PKGREVISION=		13
CATEGORIES=		security mail
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=pgpenvelope/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://pgpenvelope.sourceforge.net/
COMMENT=		GnuPG and Pine/Procmail integration tool

DEPENDS+=		p5-AppConfig>=1.52:../../devel/p5-AppConfig
DEPENDS+=		p5-Class-MakeMethods>=1.010:../../devel/p5-Class-MakeMethods
DEPENDS+=		p5-GnuPG-Interface>=0.34nb2:../../security/p5-GnuPG-Interface
DEPENDS+=		p5-String-Approx>=3.13:../../textproc/p5-String-Approx
DEPENDS+=		p5-Term-ReadKey>=2.14:../../devel/p5-Term-ReadKey
#DEPENDS+=		{perl>=5.8.1,p5-Term-ReadLine>=1.01}:../../devel/p5-Term-ReadLine

PERL5_PACKLIST=		auto/pgpenvelope/.packlist

pre-configure:
	cd ${WRKSRC}/lib/PGPEnvelope && for f in *.pm; do \
		${SED} -e 's/use Class::MethodMaker/use Class::MakeMethods::Emulator::MethodMaker/' $$f > $$f.new && \
		${MV} -f $$f.new $$f; \
	done

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