git: 51d264d1f2 - main - [phb]: Update Uses=ninja

From: Fernando Apesteguía <>
Date: Mon, 03 Apr 2023 15:22:20 UTC
The branch main has been updated by fernape:


commit 51d264d1f2a1f7439a0209888bbf3cdc60d38a6f
Author:     Fernando Apesteguía <>
AuthorDate: 2023-04-03 06:56:49 +0000
Commit:     Fernando Apesteguía <>
CommitDate: 2023-04-03 13:21:49 +0000

    [phb]: Update Uses=ninja
    Document possible arguments.
 .../content/en/books/porters-handbook/uses/_index.adoc        | 11 ++++++++---
 1 file 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
 == `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.
 == `nodejs`