git: 7de9946268 - main - [phb][Uses]: Add missing Uses=waf

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=7de9946268d62574a813369bf249ecb626ab6a67

commit 7de9946268d62574a813369bf249ecb626ab6a67
Author:     Fernando Apesteguía <[email protected]>
AuthorDate: 2025-02-20 07:24:05 +0000
Commit:     Fernando Apesteguía <[email protected]>
CommitDate: 2025-02-21 17:16:37 +0000

    [phb][Uses]: Add missing Uses=waf
---
 .../en/books/porters-handbook/uses/_index.adoc     | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc
index 750f896089..5360653b1a 100644
--- a/documentation/content/en/books/porters-handbook/uses/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc
@@ -2618,6 +2618,30 @@ Possible arguments: `4` (default), `6`, `7`
 Handle dependencies on Varnish Cache.
 Adds a dependency on package:www/varnish*[].
 
+[[uses-waf]]
+== `waf`
+
+Possible arguments: (none)
+
+Provide support for ports using the `waf` build system.
+
+It implies `USES=python:build`.
+
+The following variables are exported to be used by the port:
+
+`WAF_CMD`::
+Location of the `waf` script. Set this if the `waf` script is not in
+[.filename]#WRKSRC/waf#.
+
+`CONFIGURE_TARGET`::
+`Configure` target. Default `configure`.
+
+`ALL_TARGET`::
+`All` target. Default `build`.
+
+`INSTALL_TARGET`::
+`Install` target. Default `install`.
+
 [[uses-webplugin]]
 == `webplugin`
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.