Darcs version 2.2.1 - How to Download and Install on Mac OS X
Tuesday the 9th of February, 2010

    version 2.2.1

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


      The darcs Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0
      Name: darcs
      Version: 2.2.1
      Category: devel haskell
      Maintainers: gwright
      Platform: darwin
      Description: A distributed, interactive, smart revision control system
      Long Description: David's Advanced Revision Control System is yet another replacement for CVS. It is written in Haskell, and has been tested on Linux and Mac OS X. Darcs includes a cgi script, which can be used to view the contents of your repository.

      Homepage: http://darcs.net
      Master Sites: http://hackage.haskell.org/packages/archive/${name}/${version}

      Checksums: md5 99d79036c031185c9e2d48eb7d195ea7 sha1 9bf214898f895c72e5a9ba36b5d6f7e7ceb5d6dc rmd160 c26d27fa40efee05436b7f6c5ff7495175bb8f65

      depends_build port:ghc
      depends_lib port:curl port:ncurses port:gmp

      configure {
      system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix}"
      }

      build {
      system "cd ${worksrcpath} && runhaskell Setup build"
      }

      destroot {
      system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
      }

      livecheck.type regex
      livecheck.regex "version (.+) released"

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.