Ticket #42730: Portfile

File Portfile, 1.3 KB (added by lpancescu (Laurențiu Păncescu), 11 years ago)
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$
3
4PortSystem        1.0
5
6name              pngquant
7version           2.1.0
8categories        graphics
9platforms         darwin
10license           BSD
11maintainers       gmail.com:lpancescu
12description       command-line utility and library for lossy compression of PNG images.
13long_description  pngquant is a command-line utility and a library for lossy \
14                  compression of PNG images.\
15                  \
16                  The conversion reduces file sizes significantly (often as \
17                  much as 70%) and preserves full alpha transparency. \
18                  Generated images are compatible with all modern web \
19                  browsers, and have better fallback in IE6 than 24-bit PNGs.
20homepage          http://pngquant.org
21master_sites      https://github.com/pornel/pngquant/archive/
22distname          ${version}
23worksrcdir        ${name}-${version}
24checksums         rmd160 ef594b91f0c1ea1513300029e7ffa10929ca4934 \
25                  sha256 ea6df8aa13984f011d951bcedee5971429717118cfdfd0d19066d9d1200cbb7a
26depends_lib       port:libpng
27
28use_configure           no
29build.env-append        PREFIX=${prefix}
30destroot.post_args      PREFIX=${prefix} ${destroot.destdir}