<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c1fdfe62a7bd72fe8c7db916194410962e72d680">https://github.com/macports/macports-ports/commit/c1fdfe62a7bd72fe8c7db916194410962e72d680</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 c1fdfe62a7b pngquant: update to 3.0.3
</span>c1fdfe62a7b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c1fdfe62a7bd72fe8c7db916194410962e72d680
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Thu Apr 4 17:54:28 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> pngquant: update to 3.0.3
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - project is now a Rust project, build with cargo
</span><span style='display:block; white-space:pre;color:#404040;'> - assume maintainership
</span>---
graphics/pngquant/Portfile | 61 +++++++++++++++++-----------------------------
1 file changed, 23 insertions(+), 38 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/pngquant/Portfile b/graphics/pngquant/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7bb5a0390ad..b45788f6ad0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/pngquant/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/pngquant/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +1,17 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup github 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup kornelski pngquant 2.18.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cargo 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup kornelski pngquant 3.0.3
</span> revision 0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories graphics
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span> license GPL-3+
<span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {gmail.com:herby.gillot @herbygillot} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ openmaintainer
</span>
description command-line utility and library for lossy compression of PNG images
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,45 +21,34 @@ long_description pngquant is a {*}${description}. \
</span> Generated images are compatible with all modern web \
browsers, and have better fallback in IE6 than 24-bit PNGs.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://pngquant.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distfiles ${name}-${version}-src${extract.suffix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://pngquant.org/
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 7add55f3c4e037feea14f56ab4227b95718dfc3b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 e72194b52b36f040deaec49a1ddd5dcd8d4feecc3a5fe6c5e9589a9707b233d4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 150453
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+fetch.type git
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_extract-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:gnutar
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "git submodule update --init --recursive"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append port:libpng \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:lcms2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:lcms2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libpng \
</span> port:zlib
depends_build-append \
path:bin/pkg-config:pkgconfig
<span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.post_args "| gtar -xf -"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+cargo.offline_cmd {}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.c_standard 1999
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.pre_args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --features=lcms2,cocoa
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-configure {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # The configure script will not pick up the compiler correctly from an envvar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append CC=${configure.cc}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/target/[cargo.rust_platform]/release/${name} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/bin/
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Not a default variant because running many pngquant processes in parallel, one for each image,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# is probably a common use case. This is more efficient than parallelization within a process.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant openmp description {Build with OpenMP support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.openmp_version 3.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-openmp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0444 ${worksrcpath}/${name}.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/man/man1/
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant debug description {Enable debug binaries} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-debug
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span> set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -65,10 +57,3 @@ post-destroot {
</span> README.md \
${destroot}${docdir}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.run yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.target test
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url ${homepage}releases.html
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex ${name}-(\[0-9.\]+)-src${extract.suffix}
</span></pre><pre style='margin:0'>
</pre>