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
24 lines
477 B
Makefile
24 lines
477 B
Makefile
PORTNAME= mod_ldap
|
|
PORTREVISION= 4
|
|
CATEGORIES= net ftp
|
|
PKGNAMEPREFIX= proftpd-
|
|
|
|
MAINTAINER= mm@FreeBSD.org
|
|
COMMENT= LDAP and quotatab_ldap ProFTPD modules
|
|
WWW= http://www.proftpd.org/docs/contrib/mod_ldap.html
|
|
|
|
LICENSE= GPLv2
|
|
|
|
DESCR= ${.CURDIR}/pkg-descr
|
|
|
|
MASTERDIR= ${.CURDIR}/../../ftp/proftpd
|
|
|
|
USES= cpe ldap ssl
|
|
|
|
INCLUDEDIRS= ${LOCALBASE}/include
|
|
LIBDIRS= ${LOCALBASE}/lib
|
|
|
|
_BUILDING_PROFTPD_MODULE= ${PORTNAME} \
|
|
mod_quotatab_ldap
|
|
|
|
.include "${MASTERDIR}/Makefile"
|