Download and Install couchdb-devel version 0.7.3a on Mac OS X
Friday the 25th of July, 2008

    couchdb-devel  most recent diff


      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.7.3a 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
      Google
      Web Darwinports.com



      # $Id: Portfile 37142 2008-05-27 17:24:55Z jwa macports.org $

      PortSystem 1.0

      Name: couchdb-devel
      Version: 0.7.3a
      Category: databases
      Platform: darwin
      Description: couchdb is a document database server
      Maintainers: jwa
      Long Description: ${description}
      Homepage: http://incubator.apache.org/couchdb/
      master_sites http://incubator.apache.org/couchdb/
      checksums sha1 bf6506dd200ea18ea1331391da7aaece1188208d

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

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

      set dbgroup couchdb
      set dbuser couchdb
      set logdir ${prefix}/var/log/couchdb
      set dbdir ${prefix}/var/lib/couchdb
      set piddir ${prefix}/var/run/
      set plistloc ${prefix}/etc/LaunchDaemons/org.macports.CouchDB

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

      Variant: server description {adds a startup item} {
      addgroup ${dbgroup}
      adduser ${dbuser} gid=[existsgroup ${dbgroup}]

      startupitem.create yes
      startupitem.type launchd
      startupitem.name CouchDB
      startupitem.start "${prefix}/bin/couchdb -b -o ${logdir}/couchdb.stdout -e ${logdir}/couchdb.stderr"
      startupitem.stop "${prefix}/bin/couchdb -d"
      }

      pre-destroot {
      if { [variant_isset server] } {
      xinstall -m 755 -o ${dbuser} -g ${dbgroup} -d ${destroot}${dbdir} ${destroot}${logdir} ${destroot}${piddir}
      destroot.keepdirs-append ${destroot}${dbdir} ${destroot}${logdir} ${destroot}${piddir}
      }
      }

      pre-install {
      if { [variant_isset server] } {
      system "touch ${destroot}${piddir}/couchdb.pid"
      system "chown -R ${dbuser}:${dbgroup} ${destroot}${dbdir} ${destroot}${logdir} ${destroot}${piddir}/couchdb.pid"
      system "cd ${destroot}${plistloc}; patch <${filespath}/patch-org.macports.CouchDB.plist.diff"
      }
      }

      livecheck.check regex
      livecheck.url http://svn.apache.org/repos/asf/incubator/couchdb/trunk
      livecheck.version ${svn.tag}
      livecheck.regex Revision (\[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



    image test