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

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

pngcrush: update to 1.7.40

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
RevLine 
[84550]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
[20312]2# $Id: Portfile 98928 2012-10-21 02:39:54Z snc@macports.org $
[2125]3
[44822]4PortSystem          1.0
[60559]5
[44822]6name                pngcrush
[98928]7version             1.7.40
[44822]8categories          graphics
[60559]9maintainers         snc openmaintainer
[84279]10license             zlib
[85570]11installs_libs       no
[87071]12
[44822]13description         optimizer for PNG files
[1314]14
[87071]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
[44822]23platforms           darwin freebsd
[17697]24
[44822]25homepage            http://pmt.sourceforge.net/pngcrush/
[86260]26master_sites        sourceforge:project/pmt/pngcrush/${version}
[93989]27use_xz              yes
[41101]28
[98928]29checksums           rmd160  e02b0d90de47c2017fc38e48b2dc2ced7c515568 \
30                    sha256  4d80a4a717c70b91489b81d01d11cfb54b1ff9a6bae43c61009d210e9b90d8d0
[44822]31
32use_configure       no
33
[87070]34variant universal {}
[44822]35
[87070]36build.args-append   CC="${configure.cc} [get_canonical_archflags cc]" \
37                    LD="${configure.cc} [get_canonical_archflags ld]"
[96014]38build.post_args     CFLAGS="-I. -O3 -funroll-loops -fomit-frame-pointer -Wall -Wshadow -DZ_SOLO -DPNGCRUSH_COUNT_COLORS"
[87070]39
[13081]40destroot {
[87071]41    xinstall -m 755 -d ${destroot}${prefix}/bin
42    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
[13081]43}
[60687]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.