Download and Install dcraw version 8.86 on Mac OS X
Thursday the 21st of August, 2008

    dcraw  most recent diff


      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.86 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
      Google
      Web Darwinports.com



      # $Id: Portfile 36478 2008-05-04 02:32:00Z ryandesign macports.org $

      PortSystem 1.0

      Name: dcraw
      Version: 8.86
      revision 1
      Category: graphics
      Maintainers: ryandesign
      Platform: darwin
      Homepage: http://www.cybercom.net/~dcoffin/dcraw/
      master_sites ${homepage}archive/
      worksrcdir $name
      dist_subdir ${name}/${version}_${revision}
      use_configure no

      Description: Raw Digital Photo Decoding, supporting 209 cameras

      Long Description: ${description}

      checksums md5 10c38ffe7c332ace59cbd8b9c0dcdd92 sha1 bdbc8fe8866dc47bf9f6ddeeded1285936cb6d57 rmd160 a0d4069a80bc8679b5cb0bbd79e41867ca1e4c8e

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

      Variant: universal {}

      build {
      if {[variant_isset universal]} {
      system "cd ${worksrcpath} && cc -o dcraw ${configure.cflags} ${configure.universal_cflags} dcraw.c -ljpeg -llcms -lintl ${configure.cppflags} ${configure.ldflags} -DLOCALEDIR=\\\"${prefix}/share/locale/\\\""
      } else {
      system "cd ${worksrcpath} && cc -o dcraw ${configure.cflags} dcraw.c -ljpeg -llcms -lintl ${configure.cppflags} ${configure.ldflags} -DLOCALEDIR=\\\"${prefix}/share/locale/\\\""
      }
      }

      destroot {
      xinstall -s -m 755 -W ${worksrcpath} dcraw ${destroot}${prefix}/bin
      xinstall -m 644 -W ${worksrcpath} dcraw.1 ${destroot}${prefix}/share/man/man1
      foreach lang {eo ru fr it de pt es zh_TW zh_CN nl pl hu} {
      if {[file exist ${worksrcpath}/dcraw_${lang}.1]} {
      xinstall -m 755 -d ${destroot}${prefix}/share/man/${lang}/man1
      xinstall -m 644 -W ${worksrcpath} dcraw_${lang}.1 ${destroot}${prefix}/share/man/${lang}/man1/dcraw.1
      }
      if {[file exist ${worksrcpath}/dcraw_${lang}.po]} {
      xinstall -m 755 -d ${destroot}${prefix}/share/locale/${lang}/LC_MESSAGES
      system "msgfmt -o ${destroot}${prefix}/share/locale/${lang}/LC_MESSAGES/dcraw.mo ${worksrcpath}/dcraw_${lang}.po"
      }
      }
      }

      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.check regex
      livecheck.url ${homepage}archive/?C=M&O=D
      livecheck.regex ${name}-(\[0-9.\]+)\\.tar

    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



    image test