<pre style='margin:0'>
Dan Villiom Podlaski Christiansen (danchr) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/38ad883259f2563178132f339b955405e8be77c2">https://github.com/macports/macports-ports/commit/38ad883259f2563178132f339b955405e8be77c2</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 38ad883259f yq: documentation & completion
</span>38ad883259f is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 38ad883259f2563178132f339b955405e8be77c2
</span>Author: Dan Villiom Podlaski Christiansen <danchr@gmail.com>
AuthorDate: Mon Mar 4 10:55:05 2024 +0100

<span style='display:block; white-space:pre;color:#404040;'>    yq: documentation & completion
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Partly inspired by the Debian rules, which also include a manual page
</span><span style='display:block; white-space:pre;color:#404040;'>    and the license file. While at it, I also added shell completion and the
</span><span style='display:block; white-space:pre;color:#404040;'>    bundled examples.
</span>---
 textproc/yq/Portfile          | 34 +++++++++++++++++++++++++++++++++-
 textproc/yq/files/mandoc.diff | 12 ++++++++++++
 2 files changed, 45 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/yq/Portfile b/textproc/yq/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f7d98a96c9f..3cc98c718da 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/yq/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/yq/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup           golang 1.0
</span> go.setup            github.com/mikefarah/yq 4.42.1 v
 go.package          github.com/mikefarah/yq/v4
 github.tarball_from archive
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> 
 homepage            https://mikefarah.gitbook.io/yq
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,12 +23,44 @@ license             MIT
</span> maintainers         {gmail.com:herby.gillot @herbygillot} \
                     openmaintainer
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# address a warning about invalid man pages
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles          mandoc.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:pandoc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> build.pre_args-append \
                     -ldflags \"-X ${go.package}/cmd.Version=${version}\"
 build.args-append   -o ${name}
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    system -W "${worksrcpath}" scripts/generate-man-page-md.sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    system -W "${worksrcpath}" scripts/generate-man-page.sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot {
     xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -d ${destroot}${prefix}/share/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -m 0644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -d ${destroot}${prefix}/share/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -m 0644 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    file copy ${worksrcpath}/examples ${destroot}${prefix}/share/${name}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    set bash_completion ${prefix}/share/bash-completion/completions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -d ${destroot}${bash_completion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    exec ${destroot}${prefix}/bin/${name} shell-completion bash > \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ${destroot}${bash_completion}/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    set zsh_completion ${prefix}/share/zsh/site-functions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -d ${destroot}${zsh_completion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    exec ${destroot}${prefix}/bin/${name} shell-completion zsh > \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ${destroot}${zsh_completion}/_${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    set fish_completion ${prefix}/share/fish/vendor_completions.d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -d ${destroot}${fish_completion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    exec ${destroot}${prefix}/bin/${name} shell-completion fish > \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ${destroot}${fish_completion}/${name}.fish
</span> }
 
 checksums           ${distname}${extract.suffix} \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/yq/files/mandoc.diff b/textproc/yq/files/mandoc.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..559f77c1e6f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/yq/files/mandoc.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git pkg/yqlib/doc/usage/xml.md pkg/yqlib/doc/usage/xml.md
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- pkg/yqlib/doc/usage/xml.md
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ pkg/yqlib/doc/usage/xml.md
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -30,7 +30,7 @@ In addition to the above flags, there ar
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | Flag | Default | Description |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | -- | -- | -- |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-| `--xml-strict-mode` | false | Strict mode enforces the requirements of the XML specification. When switched off the parser allows input containing common mistakes. See [the Golang xml decoder ](https://pkg.go.dev/encoding/xml#Decoder) for more details.| 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++| `--xml-strict-mode` | false | Strict mode enforces the requirements of the XML specification. When switched off the parser allows input containing common mistakes. See `https://pkg.go.dev/encoding/xml#Decoder` for more details.| 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | `--xml-keep-namespace` | true | Keeps the namespace of attributes |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | `--xml-raw-token` | true |  Does not verify that start and end elements match and does not translate name space prefixes to their corresponding URLs. |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | `--xml-skip-proc-inst` | false | Skips over processing instructions, e.g. `<?xml version="1"?>` |
</span></pre><pre style='margin:0'>

</pre>