# -*- 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.4.0 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 http://code.google.com/p/webp/ master_sites googlecode checksums rmd160 4f75ccd48cc6af58a46e09aa606bcebdade3c28f \ sha256 31913577e96386556855b41d210736449445fe96cfbe9289014e9b8afa944d69 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.name ${name} livecheck.regex /libwebp-(\[0-9.\]+)${extract.suffix}