<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/b50af4be295b85363b739ef1eb22ac1d24290dcd">https://github.com/macports/macports-ports/commit/b50af4be295b85363b739ef1eb22ac1d24290dcd</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b50af4be295b85363b739ef1eb22ac1d24290dcd
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Tue Jun 6 14:12:46 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> lib2geom: cleanup
</span>---
graphics/lib2geom/Portfile | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/lib2geom/Portfile b/graphics/lib2geom/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f639c7a80a3..346e3687289 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/lib2geom/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/lib2geom/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,9 +8,9 @@ PortGroup boost 1.0
</span> gitlab.setup inkscape lib2geom 1.2.2
revision 0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+categories graphics
</span> license {LGPL-2.1 MPL-1.1}
maintainers {devans @dbevans} {mascguy @mascguy} openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-categories graphics
</span>
description 2Geom is a computational geometry library intended for use with \
2D vector graphics.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,18 +32,18 @@ depends_build-append \
</span> port:pkgconfig
depends_lib-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/pkgconfig/glib-2.0.pc:glib2 \
</span> path:lib/pkgconfig/cairo.pc:cairo \
port:double-conversion \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/pkgconfig/glib-2.0.pc:glib2 \
</span> port:gsl
# C++17 is required
compiler.cxx_standard 2017
configure.args-append \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ -D2GEOM_BUILD_SHARED=ON \
</span> -D2GEOM_TESTING=OFF \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -D2GEOM_USE_GPL_CODE=OFF \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -D2GEOM_BUILD_SHARED=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -D2GEOM_USE_GPL_CODE=OFF
</span>
# Our Inkscape port, v1.2.2 - revisions 0 and 1 - install a public copy of lib2geom.
# So we must forcibly deactivate Inkscape first, and prompt the user to upgrade.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -73,16 +73,19 @@ pre-activate {
</span>
variant apidocs description {Generate and install HTML API documentation} {
depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- path:bin/dot:graphviz \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:bin/doxygen:doxygen
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/doxygen:doxygen \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/dot:graphviz
</span>
post-build {
system -W ${worksrcpath} "${prefix}/bin/doxygen"
}
post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${destroot}${prefix}/share/doc/${name}/html
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 {*}[glob ${worksrcpath}/doc/html/*] \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/doc/${name}/html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docdir ${prefix}/share/doc/${name}/html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {*}[glob ${worksrcpath}/doc/html/*] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${docdir}
</span> }
}
</pre><pre style='margin:0'>
</pre>