Couchdb-devel version 0.10.0r${svn.revision} - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    couchdb-devel  most recent diff


    version 0.10.0r${svn.revision}

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


      The couchdb-devel Portfile 58177 2009-09-23 18:12:27Z ryandesign macports.org $

      PortSystem 1.0

      Name: couchdb-devel
      svn.revision 817403
      Version: 0.10.0r${svn.revision}

      Category: databases
      Platform: darwin

      Description: CouchDB is a document database server
      Maintainers: jwa febeling
      Long Description: ${description} with a restful HTTP API, capable of storing arbitrary JSON documents, building powerful data views, defined in JavaScript, and processed in parallel using Map/Reduce. It leaves out SQL and transactions for simplicity's sake, to improve scalability and to relax users' lives.

      Homepage: http://couchdb.apache.org/
      Master Sites: ${homepage}

      distname couchdb-${version}
      fetch.type svn
      svn.url http://svn.apache.org/repos/asf/couchdb/trunk
      worksrcdir trunk

      depends_lib port:automake port:autoconf port:libtool port:help2man port:icu port:spidermonkey port:erlang

      pre-configure {
      system "cd ${worksrcpath}; ./bootstrap"
      }

      set dbgroup couchdb
      set dbuser couchdb
      set logdir ${prefix}/var/log/couchdb
      set dbdir ${prefix}/var/lib/couchdb
      set plistdir /Library/LaunchDaemons

      post-destroot {
      addgroup ${dbgroup}
      adduser ${dbuser} gid=[existsgroup ${dbgroup}]
      xinstall -m 755 -o ${dbuser} -g ${dbgroup} -d ${destroot}${dbdir} ${destroot}${logdir} ${destroot}${plistdir}
      destroot.keepdirs-append ${destroot}${dbdir} ${destroot}${logdir}
      set plist org.apache.couchdb.plist
      system "cd ${destroot}/Library/LaunchDaemons && ln -sf ${prefix}/Library/LaunchDaemons/${plist}"
      }

      post-activate {
      ui_msg "########################################################################"
      ui_msg "# Changes in CouchDB r753448 make older database files incompatible."
      ui_msg "# See http://wiki.apache.org/couchdb/BreakingChanges for details"
      ui_msg "#"
      ui_msg "# Run the following command to install the CouchDB launchd"
      ui_msg "# startup item in order to start and re-start service automatically:"
      ui_msg "#"
      ui_msg "# sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist"
      ui_msg "########################################################################"
      }

      livecheck.type regex
      livecheck.url http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/
      livecheck.version ${svn.revision}
      livecheck.regex (\[0-9\]+)

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.