summaryrefslogtreecommitdiff
path: root/security/pgpenvelope/Makefile
blob: 1b76816f59abfc75d9f40d7a5ff9cdc25283f5b8 (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.13 2011/08/14 14:42:51 obache Exp $
#

DISTNAME=		pgpenvelope-2.10.2
PKGREVISION=		7
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

PKG_DESTDIR_SUPPORT=	user-destdir

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+=		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"