git: 7324c1199e - main - [phb][Uses]: Add missing Uses=lazarus
Fernando Apesteguía <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.doc |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=7324c1199ebf6757bcfa91d3800b6b09d327968a commit 7324c1199ebf6757bcfa91d3800b6b09d327968a Author: Fernando Apesteguía <[email protected]> AuthorDate: 2025-02-17 18:43:20 +0000 Commit: Fernando Apesteguía <[email protected]> CommitDate: 2025-02-27 16:51:14 +0000 [phb][Uses]: Add missing Uses=lazarus Reviewed by: acm Differential Revision: https://reviews.freebsd.org/D49034 --- .../en/books/porters-handbook/uses/_index.adoc | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc index cd459e4885..b0fc10b1b4 100644 --- a/documentation/content/en/books/porters-handbook/uses/_index.adoc +++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc @@ -1428,6 +1428,52 @@ Provide support for package:multimedia/kodi[] add-ons. If the `noautoplist` argument is provided it does not generate the `plist` automatically. +[[uses-lazarus]] +== `lazarus` + +Possible arguments: (none), `gtk2` (default), `qt5`, `qt6`, `flavors` + +Provide support for package:editors/lazarus[] based ports. + +If no arguments are provided or if `gtk2` is provided the lazarus-app is built with +a `gtk2` interface the package:editors/lazarus[] port will be built with the `gtk2` +interface. + +If the `qt5` argument is provided, the lazarus-app is built with a `qt5` +interface. + +If the `qt6` argument is provided, the lazarus-app is built with a `qt6` +interface. + +If the `flavors` argument is provided the lazarus-app is built with flavors +feature. + +If the port does not require compiling lazarus project files automatically, the +following variable can be defined: + +`NO_LAZBUILD`= `yes` + +The following variables are available for ports: + +`LAZARUS_PROJECT_FILES`:: +List of lpi files. It must not be empty. Default: empty + +`LAZARUS_DIR`:: +Path to lazarus installation directory +Default: [.filename]#${LOCALBASE}/share/lazarus-${LAZARUS_VER}# + +`LAZBUILD_ARGS`:: +lazbuild extra args. It could be `-d` in most of cases. +See man:lazbuild[1] for more information. +Default: empty + +`LAZARUS_NO_FLAVORS`:: +Do not build these lazarus flavors. +If `LAZARUS_NO_FLAVORS` is not defined then all valid lazarus flavors are assumed. + +`WANT_LAZARUS_DEVEL`:: +If set to `yes` then use package:lazarus/devel[] as build dependency. + [[uses-ldap]] == `ldap`