2013-04-23 16:20:25 +02:00
|
|
|
# Created by: Clive Lin <clive@CirX.ORG>
|
2000-08-16 23:02:12 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gpa
|
2012-08-14 14:01:37 +02:00
|
|
|
PORTVERSION= 0.9.3
|
2000-08-16 23:02:12 +02:00
|
|
|
CATEGORIES= security
|
2012-05-12 12:59:20 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNUPG}
|
|
|
|
MASTER_SITE_SUBDIR= gpa
|
2000-08-16 23:02:12 +02:00
|
|
|
|
2012-09-13 06:45:58 +02:00
|
|
|
MAINTAINER= jhale@FreeBSD.org
|
2012-08-14 14:01:37 +02:00
|
|
|
COMMENT= GTK2+ frontend for the GNU Privacy Guard
|
2000-08-16 23:02:12 +02:00
|
|
|
|
2012-05-12 12:59:20 +02:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2012-08-14 14:01:37 +02:00
|
|
|
LIB_DEPENDS= assuan:${PORTSDIR}/security/libassuan \
|
|
|
|
gpgme:${PORTSDIR}/security/gpgme
|
2010-06-23 00:35:54 +02:00
|
|
|
BUILD_DEPENDS= gpgv2:${PORTSDIR}/security/gnupg
|
2008-04-13 17:33:33 +02:00
|
|
|
RUN_DEPENDS= gpgv2:${PORTSDIR}/security/gnupg
|
2000-08-16 23:02:12 +02:00
|
|
|
|
2013-04-23 16:20:25 +02:00
|
|
|
USES= pkgconfig
|
2006-09-23 17:35:38 +02:00
|
|
|
USE_BZIP2= yes
|
2000-08-16 23:02:12 +02:00
|
|
|
USE_GMAKE= yes
|
2005-03-07 16:30:55 +01:00
|
|
|
USE_GNOME= gtk20
|
2000-08-16 23:02:12 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2012-08-14 14:01:37 +02:00
|
|
|
CONFIGURE_ENV+= GPGKEYS_LDAP="${LOCALBASE}/libexec/gpg2keys_ldap" \
|
|
|
|
GPG="${LOCALBASE}/bin/gpgv2"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2009-07-28 00:24:29 +02:00
|
|
|
|
2012-05-12 12:59:20 +02:00
|
|
|
MAN1= gpa.1
|
2010-06-23 00:35:54 +02:00
|
|
|
|
2012-08-14 14:01:37 +02:00
|
|
|
OPTIONS_DEFINE= NLS
|
2009-07-28 00:24:29 +02:00
|
|
|
|
2013-04-30 08:28:27 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2009-07-28 00:24:29 +02:00
|
|
|
|
2009-12-03 16:55:33 +01:00
|
|
|
.if !exists(${LOCALBASE}/bin/gpgsm)
|
|
|
|
IGNORE= requires gpgsm. (Re)Install security/gnupg with the GPGSM option ON, then rebuild security/gpgme if installed
|
|
|
|
.endif
|
|
|
|
|
2013-04-30 08:28:27 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
|
|
USES+= gettext
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
2009-07-28 00:24:29 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
2000-08-16 23:02:12 +02:00
|
|
|
|
2013-04-30 08:28:27 +02:00
|
|
|
.include <bsd.port.mk>
|