aboutsummaryrefslogtreecommitdiffstats
path: root/security/gpa/Makefile
blob: 312532d855e6d6de9e8db88fbd6034eb918100f0 (plain) (blame)
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
37
38
39
40
# Created by: Clive Lin <clive@CirX.ORG>
# $FreeBSD$

PORTNAME=   gpa
PORTVERSION=    0.9.4
CATEGORIES= security
MASTER_SITES=   GNUPG/gpa

MAINTAINER= jhale@FreeBSD.org
COMMENT=    GTK2+ frontend for the GNU Privacy Guard

LICENSE=    GPLv3
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libassuan.so:${PORTSDIR}/security/libassuan \
        libgpgme.so:${PORTSDIR}/security/gpgme
BUILD_DEPENDS=  gpgv2:${PORTSDIR}/security/gnupg
RUN_DEPENDS=    gpgv2:${PORTSDIR}/security/gnupg

USES=       gmake pkgconfig tar:bzip2
USE_GNOME=  gtk20
GNU_CONFIGURE=  yes
CONFIGURE_ENV+= GPGKEYS_LDAP="${LOCALBASE}/libexec/gpg2keys_ldap" \
        GPG="${LOCALBASE}/bin/gpg2"
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

OPTIONS_DEFINE= NLS
OPTIONS_SUB=    yes

NLS_USES=       gettext
NLS_CONFIGURE_ENABLE=   nls

.include <bsd.port.options.mk>

.if !exists(${LOCALBASE}/bin/gpgsm)
IGNORE=     requires gpgsm. (Re)Install security/gnupg with the GPGSM option ON
.endif

.include <bsd.port.mk>