aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2023-04-03 06:56:49 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2023-04-03 13:21:49 +0000
commit51d264d1f2a1f7439a0209888bbf3cdc60d38a6f (patch)
treed5b1d2bc52200a4860fe0179fcf61750b5b2677c
parent634a34b7bb37650e4f8fcbea9fd7428b3f5b911a (diff)
downloaddoc-51d264d1f2.tar.gz
doc-51d264d1f2.zip
[phb]: Update Uses=ninja
Document possible arguments.
-rw-r--r--documentation/content/en/books/porters-handbook/uses/_index.adoc11
1 files changed, 8 insertions, 3 deletions
diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc
index 0985fd6bf6..5a357f42a7 100644
--- a/documentation/content/en/books/porters-handbook/uses/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc
@@ -1328,9 +1328,14 @@ Adds support for Nextcloud applications by adding a run time dependency on packa
[[uses-ninja]]
== `ninja`
-Possible arguments: (none)
-
-Uses ninja to build the port.
+Possible arguments: (none), `build`, `make` (default), `run`
+
+If `build` or `run` arguments are specify, it respectively adds a build or run
+time dependency on package:devel/ninja[].
+If `make` or no arguments are provided, use ninja to build the port instead of make.
+`make` implies `build`.
+If the variable `NINJA_DEFAULT` is set to `samurai`, then the depedencies are set
+on package:devel/samurai[] instead.
[[uses-nodejs]]
== `nodejs`