Merge from vendor branch TNF:
[pkgsrc.git] / security / pinepgp / Makefile
1 # $NetBSD: Makefile,v 1.13 2009/03/17 21:40:47 darcy Exp $
2 #
3
4 DISTNAME=               pinepgp-0.18.0
5 PKGREVISION=            2
6 CATEGORIES=             security mail
7 MASTER_SITES=           http://hany.sk/~hany/_data/pinepgp/     \
8                         http://terminus.sk/~hany/_data/pinepgp/
9
10 MAINTAINER=             pkgsrc-users@NetBSD.org
11 HOMEPAGE=               http://hany.sk/~hany/software/pinepgp/stable.html
12 COMMENT=                PGP display and sending filters for pine
13
14 PKG_DESTDIR_SUPPORT=    user-destdir
15
16 DEPENDS+=               bash>=2:../../shells/bash2
17
18 USE_PKGLOCALEDIR=       yes
19 GNU_CONFIGURE=          yes
20 USE_TOOLS+=             cat
21 CONFIGURE_ENV+=         CAT=${TOOLS_CAT:Q}
22
23 PINEPGP_USEGPG?=        yes
24 PINEPGP_USEPGP5?=       yes
25
26 .if !empty(PINEPGP_USEGPG:M[yY][eE][sS])
27 DEPENDS+=               gnupg>=1.2.3:../../security/gnupg
28 .endif
29
30 .if !empty(PINEPGP_USEPGP5:M[yY][eE][sS])
31 DEPENDS+=               pgp5>=5.0:../../security/pgp5
32 .endif
33
34 .include "../../mk/bsd.pkg.mk"