[76480] trunk/dports/graphics
ryandesign at macports.org
ryandesign at macports.org
Thu Feb 24 20:52:04 PST 2011
Revision: 76480
http://trac.macports.org/changeset/76480
Author: ryandesign at macports.org
Date: 2011-02-24 20:52:00 -0800 (Thu, 24 Feb 2011)
Log Message:
-----------
webp: new port, version 0.1; see #27518
Added Paths:
-----------
trunk/dports/graphics/webp/
trunk/dports/graphics/webp/Portfile
Added: trunk/dports/graphics/webp/Portfile
===================================================================
--- trunk/dports/graphics/webp/Portfile (rev 0)
+++ trunk/dports/graphics/webp/Portfile 2011-02-25 04:52:00 UTC (rev 76480)
@@ -0,0 +1,65 @@
+# -*- 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.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 http://code.google.com/speed/webp/
+master_sites googlecode
+
+checksums sha1 e2f793940bc45b0df4ed57b902ce8b76be607134 \
+ rmd160 4945612bfab68a4354e793ab8b8962c9222619b2
+
+depends_lib port:tiff \
+ port:zlib \
+ port:libpng \
+ port:jpeg
+
+distname libwebp-${version}
+worksrcdir libwebp
+
+post-extract {
+ # I'm going mad trying to develop this port when I can't access its files.
+ fs-traverse item ${worksrcpath} {
+ if {[file isdirectory ${item}]} {
+ file attributes ${item} -permissions a+rx
+ } elseif {[file isfile ${item}]} {
+ file attributes ${item} -permissions a+r
+ }
+ }
+ file attributes ${worksrcpath}/configure -permissions a+x
+}
+
+post-destroot {
+ set docdir ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ AUTHORS \
+ ChangeLog \
+ COPYING \
+ NEWS \
+ PATENTS \
+ README \
+ ${docdir}
+}
Property changes on: trunk/dports/graphics/webp/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110224/c95ba800/attachment-0001.html>
More information about the macports-changes
mailing list