Pngcrush version 1.7.5 - How to Download and Install on Mac OS X
Tuesday the 9th of February, 2010

    pngcrush  most recent diff


    version 1.7.5

      View the most recent changes for the pngcrush port at: pngcrush.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for pngcrush.
      The raw portfile for pngcrush 1.7.5 is located here:
      http://pngcrush.darwinports.com/dports/graphics/pngcrush/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/pngcrush


      # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
      The pngcrush Portfile 60687 2009-11-19 22:57:38Z snc macports.org $

      PortSystem 1.0

      Name: pngcrush
      Version: 1.7.5
      Category: graphics
      Maintainers: snc openmaintainer
      Description: optimizer for PNG files
      Long Description: pngcrush reads in a PNG image, and writes it out again, with the optimum filter_type and zlib_level. It uses brute force (trying filter_type none, and libpng adaptive filtering, with compression levels 3 and 9). It does the most time-consuming method last in case it turns out to be the best. Optionally, it can remove unwanted chunks or add gAMA and sRGB chunks.

      Platform: darwin freebsd

      Homepage: http://pmt.sourceforge.net/pngcrush/
      Master Sites: sourceforge:pmt
      use_bzip2 yes

      Checksums: md5 1f3a6a43d7f4e60ce6eac7af6a2d74c6 sha1 19b713df21798feb63515b86c1d70d375dee95fb rmd160 5a48b0135e8b70d5149b6786cbaeb0961fc972d1

      use_configure no

      build.args-append CC="${configure.cc}" LD="${configure.cc}"

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/bin
      xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
      }

      livecheck.url http://sourceforge.net/api/file/index/project-id/1689/rss?path=%2F${name}
      livecheck.regex ${name}-(\\d+(\\.\\d+)+)\\.

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/pngcrush
      % sudo port install pngcrush
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching pngcrush
      ---> Verifying checksum for pngcrush
      ---> Extracting pngcrush
      ---> Configuring pngcrush
      ---> Building pngcrush with target all
      ---> Staging pngcrush into destroot
      ---> Installing pngcrush
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using pngcrush with these commands:
      %  man pngcrush
      % apropos pngcrush
      % which pngcrush
      % locate pngcrush

     Where to find more information:

    Darwin Ports



    Lightbox this page.