git: c1e0d55050 - main - [phb][Uses]: Add missing Uses=electronfix

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Fri, 21 Feb 2025 16:48:58 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/doc/commit/?id=c1e0d55050b94328cad2afa6116f2521ca8000d1

commit c1e0d55050b94328cad2afa6116f2521ca8000d1
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2025-02-10 18:27:44 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2025-02-21 16:48:40 +0000

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

diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc
index 4a3facc28f..76101b110f 100644
--- a/documentation/content/en/books/porters-handbook/uses/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc
@@ -554,6 +554,24 @@ Possible arguments: 2, 3, build (default), run
 
 Add dependency on package:math/eigen[].
 
+[[uses-elextronfix]]
+== `electronfix`
+
+Possible arguments: `31`, `32`, `33`
+
+Provide support for easy porting of Electron applications that are distributed in binary form.
+Adds a build and run time dependency on package:devel/electron31[],
+package:devel/electron32[], or package:devel/electron33[] depending on the argument used.
+
+The framework provides the following variables that can be set by ports:
+
+`ELECTRONFIX_SYMLINK_FILES`::
+List of files to be symlinked from Electron distribution.
+
+`ELECTRONFIX_MAIN_EXECUTABLE`::
+File name of the main executable to be replaced with the original Electron binary.
+
+
 [[uses-elfctl]]
 == `elfctl`