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

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

commit c1e0d55050b94328cad2afa6116f2521ca8000d1
Author:     Fernando Apesteguía <[email protected]>
AuthorDate: 2025-02-10 18:27:44 +0000
Commit:     Fernando Apesteguía <[email protected]>
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`
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.