diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc --- a/documentation/content/en/books/porters-handbook/uses/_index.adoc +++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc @@ -963,6 +963,28 @@ * Handle cross-referencing kernel modules upon installation and deinstallation, using crossref:plist[plist-keywords-kld,`@kld`]. * If the `debug` argument is given, the port can install a debug version of the module into [.filename]#KERN_DEBUGDIR#/[.filename]#KMODDIR#. By default, `KERN_DEBUGDIR` is copied from `DEBUGDIR` and set to [.filename]#/usr/lib/debug#. The framework will take care of creating and removing any required directories. +[[uses-ldap]] +== `ldap` + +Possible arguments: (none), , client, server + +Registers a dependency on package:net/openldap[]. +It uses the specific `` (without the dot notation) if set. +Otherwise it tries to find the currently installed version. +If necessary it falls back to the default version found in `bsd.default-versions.mk`. +`client` specifies a runtime dependency on the client library. This is also the +default. +`server` specifies a runtime dependency on the server. + +The following variables can be accessed by the port: + +`IGNORE_WITH_OPENLDAP`:: +This variable can be defined if the ports does not support one or more versions of OpenLDAP. +`WITH_OPENLDAP_VER`:: +User defined variable to set OpenLDAP version. +`OPENLDAP_VER`:: +Detected OpenLDAP version. + [[uses-lha]] == `lha`