1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/security/gnupg/Makefile
Gerald Pfeifer 09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00

64 lines
1.6 KiB
Makefile

# $FreeBSD$
PORTNAME= gnupg
PORTVERSION= 2.2.9
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= GNUPG
MAINTAINER= adamw@FreeBSD.org
COMMENT= Complete and free PGP implementation
LICENSE= GPLv3 LGPL3
LICENSE_COMB= multi
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LGPL3
LIB_DEPENDS= libassuan.so:security/libassuan \
libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error \
libksba.so:security/libksba \
libnpth.so:devel/npth
BUILD_DEPENDS= libassuan>=2.5.1:security/libassuan \
libgpg-error>=1.16:security/libgpg-error
RUN_DEPENDS= pinentry:security/pinentry
CONFLICTS= gnupg-2.0.* dirmngr-[0-9]*
CPE_VENDOR= gnupg
USES= compiler:c11 cpe gmake iconv pkgconfig readline sqlite tar:bzip2
CONFIGURE_ARGS= --disable-ntbtls --disable-wks-tools \
--enable-gpg-is-gpg2 --enable-symcryptrun
GNU_CONFIGURE= yes
INFO= gnupg
TEST_TARGET= check
OPTIONS_DEFINE= GNUTLS LDAP SCDAEMON NLS DOCS SUID_GPG
OPTIONS_DEFAULT=GNUTLS SCDAEMON
NO_OPTIONS_SORT=yes
OPTIONS_SUB= yes
LDAP_DESC= LDAP keyserver interface
SCDAEMON_DESC= Enable Smartcard daemon (with libusb)
SUID_GPG_DESC= Install GPG with suid
# In jail, SUID is required to avoid warning
# (security.bsd.unprivileged_mlock sysctl is not used in jail).
GNUTLS_CONFIGURE_ENABLE=gnutls
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
LDAP_CONFIGURE_WITH= ldap=${LOCALBASE}
LDAP_LIBS= -L${LOCALBASE}/lib
LDAP_USE= OPENLDAP=yes
LDAP_USES= readline
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
SCDAEMON_CONFIGURE_ENABLE= scdaemon
post-install:
@${MV} ${STAGEDIR}${DATADIR}/help*.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>