Tiff version 3.9.1 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 3.9.1

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


      The tiff Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup muniversal 1.0

      Name: tiff
      Version: 3.9.1
      Category: graphics
      Maintainers: waqar
      Description: Library and tools for dealing with Tag Image File Format
      Long Description: This software provides support for the Tag Image File Format (TIFF), a widely used format for storing image data. Included in this software distribution is a library, libtiff, for reading and writing TIFF, a small collection of tools for doing simple manipulations of TIFF images on UNIX systems, documentation on the library and tools. A small assortment of TIFF-related software for UNIX that has been contributed by others is also included. The library is capable of dealing with images that are written to follow the 5.0 or 6.0 TIFF spec. There is also considerable support for some of the more esoteric portions of the 6.0 TIFF spec.
      Homepage: http://www.remotesensing.org/libtiff
      Platform: darwin
      Master Sites: ftp://ftp.remotesensing.org/pub/libtiff/ http://dl.maptools.org/dl/libtiff/ freebsd

      Checksums: md5 63c59a44f34ae0787f2d71de3d256e20 sha1 675ad1977023a89201b80cd5cd4abadea7ba0897 rmd160 3632021a7f5d082776529a1d4b0abc8ecd2869f3

      # Turn on OpenGL with --with-apple-opengl-framework.
      Patch Files: patch-configure.diff

      depends_lib port:jpeg port:zlib

      test.run yes
      test.target check

      configure.args --mandir=${prefix}/share/man --with-docdir=${prefix}/share/doc/${name}-${version} --with-jpeg-include-dir=${prefix}/include --with-jpeg-lib-dir=${prefix}/lib --with-zlib-include-dir=${prefix}/include --with-zlib-lib-dir=${prefix}/lib

      use_parallel_build yes

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
      file copy ${worksrcpath}/html/images ${destroot}${prefix}/share/doc/${name}
      eval xinstall -m 644 [glob ${worksrcpath}/html/*.html] ${destroot}${prefix}/share/doc/${name}
      }

      platform macosx {
      if { ![variant_isset universal] } {
      configure.args-append --with-apple-opengl-framework
      } else {
      # Tiger does not have 64-bit OpenGL.
      if { ${os.major} > 8 } {
      configure.args-append --with-apple-opengl-framework
      } else {
      global merger_configure_args
      array set merger_configure_args {
      ppc --with-apple-opengl-framework
      i386 --with-apple-opengl-framework
      }
      }
      }
      pre-extract {
      if {9 == ${os.major}} {
      # http://developer.apple.com/qa/qa2007/qa1567.html
      set minimum_xcodeversion 3.1
      set current_xcodeversion [exec defaults read [exec xcode-select -print-path]/Applications/Xcode.app/Contents/Info CFBundleShortVersionString]
      if {[rpm-vercomp ${current_xcodeversion} ${minimum_xcodeversion}] < 0} {
      ui_msg "On Mac OS X ${macosx_version}, ${name} ${version} requires Xcode ${minimum_xcodeversion} or later but you have Xcode ${current_xcodeversion}."
      return -code error "incompatible Xcode version"
      }
      }
      }
      }

      livecheck.type regex
      livecheck.url http://www.remotesensing.org/libtiff/
      livecheck.regex {v(\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/tiff
      % sudo port install tiff
      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 tiff
      ---> Verifying checksum for tiff
      ---> Extracting tiff
      ---> Configuring tiff
      ---> Building tiff with target all
      ---> Staging tiff into destroot
      ---> Installing tiff
    - 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 tiff with these commands:
      %  man tiff
      % apropos tiff
      % which tiff
      % locate tiff

     Where to find more information:

    Darwin Ports



    Lightbox this page.