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

    mongodb  most recent diff


    version 1.0.0

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


      The mongodb Portfile 58892 2009-10-06 23:25:57Z blb macports.org $

      PortSystem 1.0
      Name: mongodb
      epoch 1
      Version: 1.0.0
      Revision: 1
      Category: databases
      Maintainers: blb openmaintainer
      Description: High-performance, schema-free document-oriented database
      Long Description: ${description}

      Platform: darwin

      conflicts mongodb-devel

      Homepage: http://www.mongodb.org/
      Master Sites: http://github.com/mongodb/mongo/tarball/r${version}
      dist_subdir ${name}/${version}_${revision}

      Checksums: md5 04f92ecbacd0be1f20173f8455af08d3 sha1 cbd2f66e6bfe31cd66406f8f7f36b03d67a40679 rmd160 df97e137218ecd1fbb6ce231da8cd0926a7366c8

      set mongodb_version_hash eefb812
      worksrcdir ${name}-mongo-${mongodb_version_hash}

      depends_build port:scons
      depends_lib port:boost port:pcre port:spidermonkey port:libpcap port:readline

      Patch Files: patch-SConstruct.diff
      post-patch {
      reinplace "s| PREFIX |${prefix}|g" ${worksrcpath}/SConstruct
      }

      use_configure no

      build.args --usesm
      build.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
      build.cmd scons
      build.target all mongobridge mongosniff

      destroot.cmd scons
      destroot.destdir --prefix=${destroot}${prefix}
      destroot.env ${build.env}
      post-destroot {
      xinstall -m 755 -W ${worksrcpath} mongobridge mongosniff ${destroot}${prefix}/bin
      }

      livecheck.url ${homepage}display/DOCS/Downloads
      livecheck.regex {mongodb/mongo/tarball/r(\d+\.[02468]\.\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/mongodb
      % sudo port install mongodb
      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 mongodb
      ---> Verifying checksum for mongodb
      ---> Extracting mongodb
      ---> Configuring mongodb
      ---> Building mongodb with target all
      ---> Staging mongodb into destroot
      ---> Installing mongodb
    - 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 mongodb with these commands:
      %  man mongodb
      % apropos mongodb
      % which mongodb
      % locate mongodb

     Where to find more information:

    Darwin Ports



    Lightbox this page.