git: 7de9946268 - main - [phb][Uses]: Add missing Uses=waf
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Feb 2025 17:18:48 UTC
The branch main has been updated by fernape:
URL: https://cgit.FreeBSD.org/doc/commit/?id=7de9946268d62574a813369bf249ecb626ab6a67
commit 7de9946268d62574a813369bf249ecb626ab6a67
Author: Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2025-02-20 07:24:05 +0000
Commit: Fernando Apesteguía <fernape@FreeBSD.org>
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`