Convert the USE_LDAP=yes to USES=ldap and adds the following features: - Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as RUN_DEPENDS - Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER - Adds OPENLDAP versions in bsd.default-versions.mk - Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk - Changes consumers to use the features Reviewed by: delphij Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D38233
40 lines
934 B
Makefile
40 lines
934 B
Makefile
PORTNAME= dirmngr
|
|
PORTVERSION= 1.1.0
|
|
PORTREVISION= 15
|
|
CATEGORIES= security
|
|
MASTER_SITES= GNUPG
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= umq@ueo.co.jp
|
|
COMMENT= Client for managing and downloading certificate revocation lists
|
|
WWW= https://www.gnupg.org/aegypten2
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libassuan.so:security/libassuan \
|
|
libgcrypt.so:security/libgcrypt \
|
|
libgpg-error.so:security/libgpg-error \
|
|
libksba.so:security/libksba \
|
|
libpth.so:devel/pth
|
|
|
|
USES= gmake iconv ldap tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
INFO= dirmngr
|
|
|
|
CONFIGURE_ARGS+= --docdir=${DOCSDIR}
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CFLAGS+= -fcommon
|
|
|
|
CONFLICTS_INSTALL= gnupg # bin/dirmngr bin/dirmngr-client
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext
|
|
|
|
verify: checksum
|
|
gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.sig
|
|
|
|
.include <bsd.port.mk>
|