<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2c5787b5411fc061d8386330be6e2073e32e810e">https://github.com/macports/macports-ports/commit/2c5787b5411fc061d8386330be6e2073e32e810e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 2c5787b5411fc061d8386330be6e2073e32e810e
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Wed Jun 14 13:13:00 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> libxmlxx{2,3}: take co-ownership; cleanup
</span>---
textproc/libxmlxx2/Portfile | 25 +++++++++++++++----------
textproc/libxmlxx3/Portfile | 34 ++++++++++++++++++----------------
2 files changed, 33 insertions(+), 26 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/libxmlxx2/Portfile b/textproc/libxmlxx2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7cd78771f20..97c861b679a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/libxmlxx2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/libxmlxx2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,30 +5,34 @@ PortSystem 1.0
</span> name libxmlxx2
set gname libxml++
version 2.40.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set branch [join [lrange [split ${version} .] 0 1] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories textproc
license LGPL
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {devans @dbevans} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {devans @dbevans} {mascguy @mascguy} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> description libxml++ is a C++ interface for working with XML files
long_description libxml++ is a C++ interface for working with XML files, using \
libxml (gnome-xml) to parse and write the actual XML files. It \
has a simple but complete API.
homepage http://libxmlplusplus.sourceforge.net
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${gname}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites gnome:sources/${gname}/${branch}/
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set branch [join [lrange [split ${version} .] 0 1] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites gnome:sources/${gname}/${branch}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${gname}-${version}
</span> use_xz yes
checksums rmd160 e99658fce15316319b21823c5e4cb5462b5cff1c \
sha256 4ad4abdd3258874f61c2e2a41d08e9930677976d303653cd1670d3e9f35463e9 \
size 955220
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:mm-common
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:mm-common \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:libxml2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:glibmm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:glibmm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libxml2
</span>
# requires C++11 as of version 2.39.1
compiler.cxx_standard 2011
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,7 +42,8 @@ autoreconf.args -fvi
</span>
configure.perl /usr/bin/perl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --disable-silent-rules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-silent-rules
</span>
livecheck.type gnome
livecheck.name ${gname}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/libxmlxx3/Portfile b/textproc/libxmlxx3/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2ad5f61ab7f..a4296971e58 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/libxmlxx3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/libxmlxx3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,51 +3,53 @@
</span> PortSystem 1.0
PortGroup meson 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# requires C++11 as of version 2.39.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> name libxmlxx3
set gname libxml++
version 3.2.3
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set branch [join [lrange [split ${version} .] 0 1] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
categories textproc
license LGPL-2.1+
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {devans @dbevans} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {devans @dbevans} {mascguy @mascguy} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> description libxml++ is a C++ interface for working with XML files
long_description libxml++ is a C++ interface for working with XML files, using \
libxml (gnome-xml) to parse and write the actual XML files. It \
has a simple but complete API.
homepage https://libxmlplusplus.github.io/libxmlplusplus/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${gname}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites gnome:sources/${gname}/${branch}/
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set branch [join [lrange [split ${version} .] 0 1] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites gnome:sources/${gname}/${branch}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${gname}-${version}
</span> use_xz yes
checksums rmd160 d7aa98d7eb8847fa41ecc0aec490b8b2fcc0f465 \
sha256 9541f6d2eede269498bb32e4193a41b631453654f407d47a876d62ab73beb7b5 \
size 818260
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set py_ver 3.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set py_ver_nodot [string map {. {}} ${py_ver}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> patchfiles-append patch-meson.build.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# make sure the Python version being patched matches the build dependencies below
</span> post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@@PYTHON3@@|python3.9|g" ${worksrcpath}/meson.build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@PYTHON3@@|python${py_ver}|g" ${worksrcpath}/meson.build
</span> }
depends_build-append \
port:pkgconfig \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:python39 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py39-setuptools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python${py_ver_nodot} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${py_ver_nodot}-setuptools \
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append port:libxml2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:glibmm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:glibmm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libxml2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# requires C++11 as of version 2.39.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</span>
test.run yes
livecheck.type gnome
livecheck.name ${gname}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Ignore major version updates.
</span> set livecheck.regex {LATEST-IS-(3\\.\\d*[02468](?:\\.\\d+)*)}
</pre><pre style='margin:0'>
</pre>