# -*- 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 # $Id$ PortSystem 1.0 name webp version 0.5.1 categories graphics science devel platforms darwin maintainers ryandesign openmaintainer license BSD description image format library providing lossy compression \ for photographic images long_description WebP is a new image format that provides lossy \ compression for photographic images. In a large \ scale study of 900,000 web images, WebP images \ were 39.8% smaller than jpeg images of similar \ quality. \ \ A WebP file consists of VP8 image data, and a \ container based on RIFF. Webmasters, web developers \ and browser developers can use the WebP format \ to create smaller, better-looking images that can \ help make the web faster. homepage https://developers.google.com/speed/webp/ master_sites http://downloads.webmproject.org/releases/webp/ checksums rmd160 2d14736f3de77475f04d3aa46121aa571a1245f5 \ sha256 6ad66c6fcd60a023de20b6856b03da8c7d347269d76b1fd9c3287e8b5e8813df depends_lib port:zlib \ port:libpng \ port:jpeg \ port:tiff distname libwebp-${version} post-destroot { set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} xinstall -m 644 -W ${worksrcpath} \ AUTHORS \ ChangeLog \ COPYING \ NEWS \ PATENTS \ README \ ${docdir} } variant debug description {Compile with debugging information and reduce optimization level} { configure.optflags -O1 configure.cflags-append -ggdb configure.cxxflags-append -ggdb } livecheck.type regex livecheck.url ${homepage}download livecheck.regex /libwebp-(\[0-9.\]+)${extract.suffix}