<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/714a20bd65e21ed7147f1dd04c46e29fdc6a4c77">https://github.com/macports/macports-ports/commit/714a20bd65e21ed7147f1dd04c46e29fdc6a4c77</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 714a20bd65e optipng: Use MacPorts zlib and libpng
</span>714a20bd65e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 714a20bd65e21ed7147f1dd04c46e29fdc6a4c77
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Dec 16 23:38:51 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> optipng: Use MacPorts zlib and libpng
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: #9437
</span>---
graphics/optipng/Portfile | 33 +++++++++++++++++----------------
1 file changed, 17 insertions(+), 16 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/optipng/Portfile b/graphics/optipng/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 69c4512b48a..896f9c9215d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/optipng/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/optipng/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,17 +4,18 @@ PortSystem 1.0
</span>
name optipng
version 0.7.7
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories graphics
license zlib
maintainers {ryandesign @ryandesign} openmaintainer
description PNG file optimizer
long_description \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- OptiPNG is a PNG optimizer that recompresses the image files to a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- smaller size, without losing any information. The idea has been \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- inspired from pngcrush (http://pmt.sourceforge.net/pngcrush), and \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- is explained in detail in the PNG-Tech article 'A guide to PNG \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- optimization'. The implementation is carried forward in OptiPNG, \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- which offers a faster execution per trial, and a wider search space.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OptiPNG is a PNG optimizer that recompresses the image files \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ to a smaller size, without losing any information. The idea \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ was inspired by pngcrush and is explained in detail in the \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PNG-Tech article \"A guide to PNG optimization\". The \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ implementation is carried forward in OptiPNG which offers \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ faster execution per trial and a wider search space.
</span>
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,23 +26,23 @@ checksums rmd160 bd6df4ef9f258474f352820eec545f482c7194cd \
</span> sha256 4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452 \
size 2329555
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Doesn't depend on libpng or zlib since it uses its own, modified versions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Clear cppflags and ldflags to ensure an already-installed libpng is not used.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cppflags
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.ldflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:libpng \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append --mandir=${prefix}/share/man
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# The build system's -I flags are in the wrong order.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cppflags-replace -I${prefix}/include -isystem${prefix}/include
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.universal_args-delete --disable-dependency-tracking
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant universal {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --mandir=${prefix}/share/man \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-system-libpng \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-system-zlib
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args-append CC="${configure.cc} ${configure.cflags} [get_canonical_archflags cc]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.universal_args-delete --disable-dependency-tracking
</span>
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath} \
</span> AUTHORS.txt \
LICENSE.txt \
README.txt \
</pre><pre style='margin:0'>
</pre>