# -*- coding: utf-8; mode: tcl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- vim:fenc=utf-8:ft=tcl:et:sw=2:ts=2:sts=2 PortSystem 1.0 PortGroup github 1.0 PortGroup makefile 1.0 github.setup phoboslab qoi c3dcfe780bf28f4a59bca7f0a60e2e18b0acf68f version 20221213 revision 0 categories graphics license MIT maintainers nomaintainer description The “Quite OK Image Format” for fast, lossless image \ compression. long_description ${description} It losslessly compresses images to a similar \ size of PNG, while offering 20x-50x faster encoding and \ 3x-4x faster decoding. The reference en-/decoder fits \ in about 300 lines of C. homepage https://qoiformat.org/ checksums rmd160 4dac359cd74a2e5014b5fd624e1eb5a0eac1013d \ sha256 d84783f20e6d5bc41c8e8295bc934e4150f7ee02f24cd1081a8f2ec8ab948b0a \ size 15323 depends_build port:libpng \ port:stb patchfiles patch-makefile.diff post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile } build.target all destroot { set doc_dir ${destroot}${prefix}/share/doc/${name} xinstall -d -m 0755 ${doc_dir} xinstall -m 0644 -W ${worksrcpath} LICENSE README.md ${doc_dir} xinstall -m 0644 {*}[glob ${worksrcpath}/*.h] ${destroot}${prefix}/include/ xinstall -m 0755 -W ${worksrcpath} qoibench qoiconv ${destroot}${prefix}/bin/ } livecheck.type none