source: trunk/dports/graphics/webp/Portfile

Last change on this file was 150291, checked in by ryandesign@…, 16 months ago

webp: update to 0.5.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- 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
2# $Id: Portfile 150291 2016-07-15 08:04:42Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    webp
7version                 0.5.1
8categories              graphics science devel
9platforms               darwin
10maintainers             ryandesign openmaintainer
11license                 BSD
12
13description             image format library providing lossy compression \
14                        for photographic images
15
16long_description        WebP is a new image format that provides lossy \
17                        compression for photographic images. In a large \
18                        scale study of 900,000 web images, WebP images \
19                        were 39.8% smaller than jpeg images of similar \
20                        quality. \
21                        \
22                        A WebP file consists of VP8 image data, and a \
23                        container based on RIFF. Webmasters, web developers \
24                        and browser developers can use the WebP format \
25                        to create smaller, better-looking images that can \
26                        help make the web faster.
27
28homepage                https://developers.google.com/speed/webp/
29master_sites            http://downloads.webmproject.org/releases/webp/
30
31checksums               rmd160  2d14736f3de77475f04d3aa46121aa571a1245f5 \
32                        sha256  6ad66c6fcd60a023de20b6856b03da8c7d347269d76b1fd9c3287e8b5e8813df
33
34depends_lib             port:zlib \
35                        port:libpng \
36                        port:jpeg \
37                        port:tiff
38
39distname                libwebp-${version}
40
41post-destroot {
42    set docdir ${destroot}${prefix}/share/doc/${name}
43    xinstall -d ${docdir}
44    xinstall -m 644 -W ${worksrcpath} \
45        AUTHORS \
46        ChangeLog \
47        COPYING \
48        NEWS \
49        PATENTS \
50        README \
51        ${docdir}
52}
53
54variant debug description {Compile with debugging information and reduce optimization level} {
55    configure.optflags -O1
56    configure.cflags-append -ggdb
57    configure.cxxflags-append -ggdb
58}
59
60livecheck.type          regex
61livecheck.url           ${homepage}download
62livecheck.regex         /libwebp-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.