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

    version 2.6.4

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


      The cmake Portfile 58150 2009-09-23 02:03:56Z css macports.org $

      PortSystem 1.0
      PortGroup muniversal 1.0

      Name: cmake
      Version: 2.6.4
      Revision: 1
      Category: devel
      Maintainers: css
      Description: Cross-platform make
      Long Description: An extensible, open-source system that manages the build process in an operating system and compiler independent manner. Unlike many cross-platform systems, CMake is designed to be used in conjunction with the native build environment.
      Homepage: http://www.cmake.org/
      Platform: darwin freebsd
      Master Sites: http://www.cmake.org/files/v2.6/
      Checksums: md5 50f387d0436696c4a68b5512a72c9cde sha1 c7e295683e061c2ed19773a1f0444972f75db092 rmd160 e4217067537f76e52317514cb5bb0cf38733d16a

      depends_build port:libidn port:openssl

      configure.args --mandir=/share/man --docdir=/share/doc/cmake --parallel=${build.jobs}
      Patch Files: patch-CMakeFindFrameworks.cmake.diff
      post-patch {
      reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Modules/CMakeFindFrameworks.cmake
      }

      post-destroot {
      xinstall -d -m 0755 ${destroot}${prefix}/share/emacs/site-lisp
      xinstall -m 0644 ${worksrcpath}/Docs/cmake-mode.el ${destroot}${prefix}/share/emacs/site-lisp
      xinstall -d -m 0755 ${destroot}${prefix}/share/doc/cmake
      xinstall -m 0644 -W ${worksrcpath}/Docs cmake-indent.vim cmake-syntax.vim ${destroot}${prefix}/share/doc/cmake
      }

      livecheck.type regex
      livecheck.regex {Latest Release \((\d(?:\.\d+)*)\)}
      livecheck.url ${homepage}cmake/resources/software.html

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.