Cmake version 2.6.2 - How to Download and Install on Mac OS X
Saturday the 4th of July, 2009

    version 2.6.2

      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.2 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 41675 2008-11-09 03:06:09Z nox macports.org $

      PortSystem 1.0

      Name: cmake
      Version: 2.6.2
      Category: devel
      Maintainers: css macports.org
      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 9e82aa3beb991aa8e5797cf330618d42 sha1 48d33afaf23d40f2ea9aa2f5018c7213983222c2 rmd160 df7ed9bba605bf31494aa1b835dee264b5fcb6bd
      configure.args --mandir=/share/man --docdir=/share/doc/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.check regex
      livecheck.regex {CMake (\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/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.