source: trunk/dports/graphics/pngcrush/Portfile @ 98797

Last change on this file since 98797 was 98797, checked in by snc@…, 8 years ago

pngcrush: update to 1.7.39

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 98797 2012-10-16 13:46:01Z snc@macports.org $
3
4PortSystem          1.0
5
6name                pngcrush
7version             1.7.39
8categories          graphics
9maintainers         snc openmaintainer
10license             zlib
11installs_libs       no
12
13description         optimizer for PNG files
14
15long_description    pngcrush reads in a PNG image, and writes it out again, \
16                    with the optimum filter_type and zlib_level. It uses \
17                    brute force (trying filter_type none, and libpng adaptive \
18                    filtering, with compression levels 3 and 9). It does the \
19                    most time-consuming method last in case it turns out to \
20                    be the best. Optionally, it can remove unwanted chunks or \
21                    add gAMA and sRGB chunks.
22
23platforms           darwin freebsd
24
25homepage            http://pmt.sourceforge.net/pngcrush/
26master_sites        sourceforge:project/pmt/pngcrush/${version}
27use_xz              yes
28
29checksums           rmd160  9cbef5141b6bca476d1c7bb032539d246ad30cb7 \
30                    sha256  7e23b107a0056c9833a9e0b7fd9b7450be8f405138871672184b2898719709d4
31
32use_configure       no
33
34variant universal {}
35
36build.args-append   CC="${configure.cc} [get_canonical_archflags cc]" \
37                    LD="${configure.cc} [get_canonical_archflags ld]"
38build.post_args     CFLAGS="-I. -O3 -funroll-loops -fomit-frame-pointer -Wall -Wshadow -DZ_SOLO -DPNGCRUSH_COUNT_COLORS"
39
40destroot {
41    xinstall -m 755 -d ${destroot}${prefix}/bin
42    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
43}
44
45livecheck.url       http://sourceforge.net/api/file/index/project-id/1689/rss?path=%2F${name}
46livecheck.regex     ${name}-(\\d+(\\.\\d+)+)\\.
Note: See TracBrowser for help on using the repository browser.