Freeimage version 3.12.0 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    freeimage  most recent diff


    version 3.12.0

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


      # -*- tcl -*-
      The freeimage Portfile 52919 2009-06-25 20:42:23Z toby macports.org $

      PortSystem 1.0

      Name: freeimage
      Version: 3.12.0
      Category: graphics
      Maintainers: toby
      Description: Library for FreeImage, a dependency-less graphics library
      Long Description: FreeImage is a library for developers who would like to support most popular graphics image formats. Some highlights are: extremely simple in use, not limited to the local PC (unique FreeImageIO) and Plugin driven!
      Platform: macosx
      Homepage: http://freeimage.sourceforge.net/
      Master Sites: sourceforge
      distname FreeImage[strsed ${version} {g/\.//}]
      use_zip yes
      worksrcdir FreeImage

      Checksums: md5 47b259102f776a4bcd7affc00942f3b4 sha1 d9a5efc9590cb45e176c7e5552afef961594a1cb rmd160 421ddbd81343d14561ade844c67c31802ab444ad

      Patch Files: patch-Makefile.gnu

      configure {
      reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/Makefile.gnu

      reinplace "s|__LDFLAGS__|${configure.ldflags}|" ${worksrcpath}/Makefile.gnu

      reinplace "s|__CC__|${configure.cc}|" ${worksrcpath}/Makefile.gnu
      reinplace "s|__CFLAGS__|${configure.cflags}|" ${worksrcpath}/Makefile.gnu

      reinplace "s|__CXX__|${configure.cxx}|" ${worksrcpath}/Makefile.gnu
      reinplace "s|__CXXFLAGS__|${configure.cxxflags}|" ${worksrcpath}/Makefile.gnu
      }

      build.target FreeImage
      build.args -f Makefile.gnu

      destroot.args -f Makefile.gnu

      livecheck.regex Source Distribution (.*) released.*

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.