blob: 23f067ad63cd573d88313b1b5f218629a17e04ce (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Created by: Clive Lin <clive@CirX.ORG>
# $FreeBSD$
PORTNAME= gpa
PORTVERSION= 0.9.3
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= gpa
MAINTAINER= jhale@FreeBSD.org
COMMENT= GTK2+ frontend for the GNU Privacy Guard
LICENSE= GPLv3
LIB_DEPENDS= assuan:${PORTSDIR}/security/libassuan \
gpgme:${PORTSDIR}/security/gpgme
BUILD_DEPENDS= gpgv2:${PORTSDIR}/security/gnupg
RUN_DEPENDS= gpgv2:${PORTSDIR}/security/gnupg
USES= pkgconfig
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ENV+= GPGKEYS_LDAP="${LOCALBASE}/libexec/gpg2keys_ldap" \
GPG="${LOCALBASE}/bin/gpgv2"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= gpa.1
OPTIONS_DEFINE= NLS
NO_STAGE= yes
.include <bsd.port.options.mk>
.if !exists(${LOCALBASE}/bin/gpgsm)
IGNORE= requires gpgsm. (Re)Install security/gnupg with the GPGSM option ON, then rebuild security/gpgme if installed
.endif
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.mk>
|