diff --git a/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml b/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml
index c05a094302..f65eab6546 100644
--- a/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml
+++ b/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml
@@ -5907,6 +5907,126 @@ CMAKE_ARGS+= -DTEST:BOOL=false -DDEBUG:BOOL=false \
+
+ MESON_ARGS Helpers
+
+
+ OPT_MESON_ON
+ and
+ OPT_MESON_OFF
+
+ When option OPT is selected,
+ the value of
+ OPT_MESON_ON,
+ if defined, is appended to MESON_ARGS.
+ OPT_MESON_OFF
+ works the same way, but when OPT is
+ not selected. For example:
+
+ OPTIONS_DEFINE= OPT1
+OPT1_MESON_ON= -Dopt=1
+OPT1_MESON_OFF= -Dopt=2
+
+ is equivalent to:
+
+ OPTIONS_DEFINE= OPT1
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MOPT1}
+MESON_ARGS+= -Dopt=1
+.else
+MESON_ARGS+= -Dopt=2
+.endif
+
+
+
+ OPT_MESON_TRUE
+ and
+ OPT_MESON_FALSE
+
+ When option OPT is selected,
+ for each entry in
+ OPT_MESON_TRUE
+ then
+ -Dentry=true
+ is appended to CMAKE_ARGS. When option
+ OPT is not
+ selected,
+ -Dentry=false
+ is appended to CONFIGURE_ARGS.
+ OPT_MESON_FALSE
+ is the oposite,
+ -Dentry=false
+ is appended to CMAKE_ARGS when the option
+ is selected, and
+ -Dentry=true
+ when the option is not selected. For
+ example:
+
+ OPTIONS_DEFINE= OPT1
+OPT1_MESON_TRUE= test debug
+OPT1_MESON_FALSE= optimize
+
+ is equivalent to:
+
+ OPTIONS_DEFINE= OPT1
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MOPT1}
+CMAKE_ARGS+= -Dtest=true -Ddebug=true \
+ -Doptimize=false
+.else
+CMAKE_ARGS+= -Dtest=false -Ddebug=false \
+ -Doptimize=true
+.endif
+
+
+
+ OPT_MESON_YES
+ and
+ OPT_MESON_NO
+
+ When option OPT is selected,
+ for each entry in
+ OPT_MESON_YES
+ then
+ -Dentry=yes
+ is appended to CMAKE_ARGS. When option
+ OPT is not
+ selected,
+ -Dentry=no
+ is appended to CONFIGURE_ARGS.
+ OPT_MESON_NO
+ is the oposite,
+ -Dentry=no
+ is appended to CMAKE_ARGS when the option
+ is selected, and
+ -Dentry=yes
+ when the option is not selected. For
+ example:
+
+ OPTIONS_DEFINE= OPT1
+OPT1_MESON_YES= test debug
+OPT1_MESON_NO= optimize
+
+ is equivalent to:
+
+ OPTIONS_DEFINE= OPT1
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MOPT1}
+CMAKE_ARGS+= -Dtest=yes -Ddebug=yes \
+ -Doptimize=no
+.else
+CMAKE_ARGS+= -Dtest=no -Ddebug=no \
+ -Doptimize=yes
+.endif
+
+
+
OPT_QMAKE_ON
and