freebsd-ports/security/gpa/Makefile
Jason E. Hale abb4f352df - Update to 0.9.10
- Satisfy missing dependencies in stage-qa
- Change pre-configure message to reference security/gnupg20 since
  security/gnupg always installs gpgsm
2016-12-09 03:11:34 +00:00

41 lines
915 B
Makefile

# Created by: Clive Lin <clive@CirX.ORG>
# $FreeBSD$
PORTNAME= gpa
PORTVERSION= 0.9.10
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:security/libassuan \
libgpgme.so:security/gpgme \
libgpg-error.so:security/libgpg-error
BUILD_DEPENDS= gpgv2:security/gnupg
RUN_DEPENDS= gpgv2:security/gnupg
USES= gmake localbase pkgconfig tar:bzip2
USE_GNOME= gdkpixbuf2 gtk20
GNU_CONFIGURE= yes
CONFIGURE_ENV+= GPGKEYS_LDAP="${LOCALBASE}/libexec/gpg2keys_ldap"
LDFLAGS+= -Wl,--as-needed
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
pre-configure:
@(if [ ! -e ${LOCALBASE}/bin/gpgsm ] ; then \
${ECHO_MSG} "gpa requires gpgsm. (Re)Install security/gnupg20 with the GPGSM option ON" ; \
exit 1; \
fi)
.include <bsd.port.mk>