Erc version 5.2 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 5.2

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


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

      PortSystem 1.0

      Name: erc
      Version: 5.2
      Revision: 1
      Category: irc
      Maintainers: nomaintainer
      Platform: darwin
      Description: An irc client for emacs

      Long Description: ERC is a powerful, modular, and extensible Emacs Internet Relay Chat client.

      Homepage: http://savannah.gnu.org/projects/${name}
      Master Sites: gnu

      Checksums: md5 8ac1cf2c710757c9f89f6b13fd124fd7 sha1 ac968db3651a1cb6b1ece871a1ec88f07e19e9be rmd160 dbbf33477dac09f71ad8bd1763dd0a371dd54621

      post-patch {
      reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/Makefile
      reinplace "s|(PREFIX)/info|(PREFIX)/share/info|" ${worksrcpath}/Makefile
      }

      depends_build port:emacs

      depends_run port:emacs

      use_configure no

      build {}

      post-activate {
      ui_msg "To use erc, add the following to your ~/.emacs file:"
      ui_msg ""
      ui_msg "(add-to-list 'load-path \"${prefix}/share/emacs/site-lisp/erc\")"
      ui_msg "(require 'erc)"
      }

      livecheck.type regex
      livecheck.url http://ftp.gnu.org/gnu/${name}/?C=M&O=D
      livecheck.regex ${name}-(\\d+\\.\\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/erc
      % sudo port install erc
      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 erc
      ---> Verifying checksum for erc
      ---> Extracting erc
      ---> Configuring erc
      ---> Building erc with target all
      ---> Staging erc into destroot
      ---> Installing erc
    - 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 erc with these commands:
      %  man erc
      % apropos erc
      % which erc
      % locate erc

     Where to find more information:

    Darwin Ports



    Lightbox this page.