Download and Install nxml-mode version 20041004 on Mac OS X
Thursday the 28th of August, 2008

    nxml-mode  most recent diff


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



      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
      # $Id: Portfile 37028 2008-05-23 11:41:37Z ryandesign macports.org $

      PortSystem 1.0

      Name: nxml-mode
      Version: 20041004
      Category: editors lang
      Maintainers: evenson panix.com
      Platform: darwin

      Description: An Emacs mode for editing XML files
      Long Description: A major mode for GNU Emacs for editing XML documents. It supports editing well-formed XML documents and also provides schema-sensitive editing of XML documents using RELAX NG Compact Syntax.


      Homepage: http://www.thaiopensource.com/nxml-mode/
      master_sites http://www.thaiopensource.com/download/
      checksums sha1 5d21ca111957f86c9c237af9161f7ca482a1ef9f

      use_configure no

      depends_lib path:${prefix}/bin/emacs:emacs

      build.target all
      build.args "EMACS=${prefix}/bin/emacs"

      destroot {
      cd ${worksrcpath}
      set site_lisp_dest ${destroot}${prefix}/share/emacs/site-lisp/nxml-mode
      xinstall -m 755 -d ${site_lisp_dest}
      foreach file [glob *.el *.elc] {
      xinstall -m 644 ${file} ${site_lisp_dest}
      }
      file copy char-name ${site_lisp_dest}
      file copy schema ${site_lisp_dest}

      file copy nxml-mode.info ${destroot}${prefix}/share/info
      }

      post-activate {
      ui_msg "To use this mode, put the following in your ~/.emacs:"
      ui_msg " (load \"rng-auto.el\")"
      ui_msg ""
      ui_msg "To automatically visit files in nxml-mode add some flavor of:"
      ui_msg " (setq nxml-slash-auto-complete-flag t)"
      ui_msg " (add-to-list 'auto-mode-alist "
      ui_msg " '(\"\\.\\(xml\\|svg\\|wsdl\\|xslt\\|wsdd\\|xsl\\|rng\\|xhtml\\)\\'\" . nxml-mode) nil)"
      }


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

     Where to find more information:

    Darwin Ports



    image test