Download and Install emacs version 22.2 on Mac OS X
Thursday the 28th of August, 2008

    emacs  most recent diff


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



      # $Id: Portfile 36177 2008-04-20 20:20:11Z gui_dos macports.org $

      PortSystem 1.0

      Name: emacs
      Version: 22.2
      Category: editors
      Maintainers: gmail.com:darren.bane
      Description: The GNU Emacs text editor (command line only)
      Long Description: GNU Emacs is a self-documenting, customizable, extensible real-time display editor. Users new to Emacs will be able to use basic features fairly rapidly by studying the tutorial and using the self-documentation features. Emacs also has an extensive interactive manual browser. It is easily extensible since its editing commands are written in Lisp.

      Platform: darwin freebsd
      Homepage: http://www.gnu.org/software/emacs/emacs.html
      master_sites gnu
      checksums md5 d6ee586b8752351334ebf072904c4d51
      configure.args --without-x --without-carbon

      depends_lib port:ncurses

      post-destroot {
      xinstall -d ${destroot}${prefix}/share/emacs/${version}/leim
      delete ${destroot}${prefix}/bin/ctags
      delete ${destroot}${prefix}/share/man/man1/ctags.1
      if {[variant_isset carbon]} {
      global version
      delete ${destroot}${prefix}/bin/emacs ${destroot}${prefix}/bin/emacs-${version}
      }
      }

      platform darwin 7 {
      depends_build-append port:autoconf
      }

      livecheck.check regex
      livecheck.url http://ftp.gnu.org/gnu/emacs/?C=M&O=D
      livecheck.regex ${name}-(\\d+\\.\\d+\\w*)\\.tar

      Variant: x11 description {Builds emacs as a X11 program with Lucid widgets} {
      configure.args-delete --without-x
      configure.args-append --with-x-toolkit=lucid --without-carbon --with-xpm --with-jpeg --with-tiff --with-gif --with-png
      depends_lib-append lib:libX11:XFree86 lib:libXpm:XFree86 lib:libjpeg:jpeg lib:libtiff:tiff lib:libungif:libungif lib:libpng:libpng
      }

      Variant: motif requires x11 description {Builds emacs as an X11 program with Motif widgets} {
      configure.args-delete --with-x-toolkit=lucid
      configure.args-append --with-x-toolkit=motif
      depends_lib-append lib:libXm:openmotif
      }

      Variant: gtk requires x11 description {Builds emacs as an X11 program with GTK+2 widgets} {
      configure.args-delete --with-x-toolkit=lucid
      configure.args-append --with-x-toolkit=gtk
      depends_lib-append lib:libgtk.2:gtk2 lib:libglib.2:glib2
      }

      Variant: carbon conflicts x11 description {Adds a Mac (Carbon) version of Emacs} {
      configure.args-delete --without-carbon
      configure.args-append --with-carbon --enable-carbon-app=/Applications/MacPorts
      }

      Variant: atsui requires carbon description {Adds a Mac (Carbon) version of Emacs that uses the ATSUI protocol} {
      configure.cflags-append -DUSE_ATSUI
      }


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

     Where to find more information:

    Darwin Ports



    image test