Dcraw version 8.98-20090922120800 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 8.98-20090922120800

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


      The dcraw Portfile 58194 2009-09-23 23:31:19Z ryandesign macports.org $

      PortSystem 1.0

      Name: dcraw
      Version: 8.98-20090922120800
      set version_number [lindex [split ${version} -] 0]
      Category: graphics
      Maintainers: ryandesign
      Platform: darwin
      Homepage: http://www.cybercom.net/~dcoffin/dcraw/
      Master Sites: ${homepage}archive/
      distname ${name}-${version_number}
      worksrcdir $name
      dist_subdir ${name}/${version}
      use_parallel_build yes

      Description: Digital camera raw photo decoding software supporting hundreds of cameras

      Long Description: ${name} is a small program for processing raw, unprocessed CCD data files from any of hundreds of digital cameras with better quality output than the tools provided by camera vendors.

      Checksums: md5 eed6ad3f4763f2f7832f539dcd46f317 sha1 d6ac6dfd5c831a002e3e1ce3fc0d0c63e1e62b78 rmd160 76a96f89b14d67348ef6c42950ffd85051d8b987

      depends_lib port:gettext port:libiconv port:jpeg port:lcms

      post-extract {
      xinstall -W ${filespath} Makefile.in ${worksrcpath}/Makefile
      }

      configure {
      reinplace "s| CC |${configure.cc}|g" ${worksrcpath}/Makefile
      reinplace "s| CFLAGS |${configure.cflags}|g" ${worksrcpath}/Makefile
      reinplace "s| CPPFLAGS |${configure.cppflags}|g" ${worksrcpath}/Makefile
      reinplace "s| LDFLAGS |${configure.ldflags}|g" ${worksrcpath}/Makefile
      reinplace "s| PREFIX |${prefix}|g" ${worksrcpath}/Makefile
      }

      set my_locales {eo ru fr it de pt es zh_TW zh_CN nl pl hu ca cs sv}

      post-destroot {
      xinstall -m 644 -W ${worksrcpath} dcraw.1 ${destroot}${prefix}/share/man/man1
      foreach locale ${my_locales} {
      if {[file exist ${worksrcpath}/dcraw_${locale}.1]} {
      xinstall -m 755 -d ${destroot}${prefix}/share/man/${locale}/man1
      xinstall -m 644 -W ${worksrcpath} dcraw_${locale}.1 ${destroot}${prefix}/share/man/${locale}/man1/dcraw.1
      }
      if {[file exist ${worksrcpath}/build/dcraw_${locale}.mo]} {
      xinstall -m 755 -d ${destroot}${prefix}/share/locale/${locale}/LC_MESSAGES
      xinstall -m 644 -W ${worksrcpath}/build dcraw_${locale}.mo ${destroot}${prefix}/share/locale/${locale}/LC_MESSAGES/dcraw.mo
      }
      }
      }

      pre-activate {
      ui_msg "This port conflicts with ufraw. If this port fails to"
      ui_msg "activate, uninstall or deactivate ufraw and attempt to"
      ui_msg "activate this port again."
      }

      livecheck.type regex
      livecheck.url http://www.ryandesign.com/macports/version.php/${name}
      livecheck.regex (.*)

    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/dcraw
      % sudo port install dcraw
      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 dcraw
      ---> Verifying checksum for dcraw
      ---> Extracting dcraw
      ---> Configuring dcraw
      ---> Building dcraw with target all
      ---> Staging dcraw into destroot
      ---> Installing dcraw
    - 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 dcraw with these commands:
      %  man dcraw
      % apropos dcraw
      % which dcraw
      % locate dcraw

     Where to find more information:

    Darwin Ports



    Lightbox this page.