mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
6e1233be22
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
20 lines
388 B
Makefile
20 lines
388 B
Makefile
PORTREVISION= 4
|
|
CATEGORIES= net lang
|
|
PKGNAMESUFFIX= -ldap
|
|
|
|
COMMENT= Free Pascal interface to OpenLDAP
|
|
|
|
USES= fpc
|
|
|
|
MASTERDIR= ${.CURDIR}/../../lang/fpc
|
|
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
|
|
EXTRACTUNITDIR= ${WRKUNITDIR}
|
|
|
|
OPTIONS_DEFINE= OPENLDAP
|
|
OPENLDAP_DESC= Install OpenLDAP libraries
|
|
OPTIONS_DEFAULT= OPENLDAP
|
|
|
|
OPENLDAP_USES= ldap
|
|
|
|
.include "${MASTERDIR}/Makefile"
|