# -*- 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 name optipng version 0.7.8 revision 0 checksums rmd160 0a56aceda44c9aaf5b9956bd482b2dc6bcf7cf03 \ sha256 25a3bd68481f21502ccaa0f4c13f84dcf6b20338e4c4e8c51f2cefbd8513398c \ size 3294014 categories graphics license zlib maintainers {ryandesign @ryandesign} openmaintainer description PNG file optimizer long_description \ OptiPNG is a PNG optimizer that recompresses the image files \ to a smaller size, without losing any information. The idea \ was inspired by pngcrush and is explained in detail in the \ PNG-Tech article \"A guide to PNG optimization\". The \ implementation is carried forward in OptiPNG which offers \ faster execution per trial and a wider search space. homepage http://optipng.sourceforge.net/ master_sites sourceforge:project/${name}/OptiPNG/${name}-${version} depends_lib port:libpng \ port:zlib patchfiles configure.patch # The build system's -I flags are in the wrong order. configure.cppflags-replace -I${prefix}/include -isystem${prefix}/include configure.args-append \ --mandir=${prefix}/share/man \ --with-system-libpng \ --with-system-zlib configure.universal_args-delete --disable-dependency-tracking post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} \ AUTHORS.txt \ LICENSE.txt \ README.txt \ doc/history.txt \ doc/todo.txt \ ${destroot}${docdir} }