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

    version 1.1.9

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


      The fltk Portfile 57899 2009-09-18 15:57:13Z alakazam macports.org $

      PortSystem 1.0

      Name: fltk
      Version: 1.1.9
      Revision: 1
      Category: aqua devel
      Platform: macosx
      Maintainers: alakazam openmaintainer
      Description: Fast Light Tool Kit

      Long Description: FLTK (pronounced fulltick) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and Mac OS X. FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL and its built-in GLUT emulation. FLTK is designed to be small and modular enough to be statically linked, but works fine as a shared library. FLTK also includes an excellent UI builder called FLUID that can be used to create applications in minutes.

      Homepage: http://www.fltk.org/
      Master Sites: http://ftp.easysw.com/pub/fltk/${version}/
      worksrcdir ${name}-${version}
      distname ${worksrcdir}-source
      use_bzip2 yes

      Checksums: md5 e146fd264e1001b1313acfd41ef75552 sha1 6f21903dc53c829ec71e8e49655eb19e624c8247 rmd160 f22e83fc9fd5e8bc10f0eea55e1a4df2ba132d91

      depends_lib port:jpeg port:libpng port:zlib

      universal_variant no

      post-patch {
      reinplace "s|/Applications|${applications_dir}/${name}|g" ${worksrcpath}/fluid/Makefile ${worksrcpath}/test/Makefile
      }

      configure.args --enable-threads --mandir=${prefix}/share/man

      # Force 32-bit (#21054)
      if {${build_arch} == "x86_64"} {
      configure.build_arch i386
      } elseif {${build_arch} == "ppc64"} {
      configure.build_arch ppc
      }

      use_parallel_build yes

      destroot.target install install-desktop

      livecheck.type regexm
      livecheck.url ${homepage}
      livecheck.regex "Stable Release.*?\n.*?VERSION=(\\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/fltk
      % sudo port install fltk
      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 fltk
      ---> Verifying checksum for fltk
      ---> Extracting fltk
      ---> Configuring fltk
      ---> Building fltk with target all
      ---> Staging fltk into destroot
      ---> Installing fltk
    - 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 fltk with these commands:
      %  man fltk
      % apropos fltk
      % which fltk
      % locate fltk

     Where to find more information:

    Darwin Ports



    Lightbox this page.