source: trunk/dports/editors/nxml-mode/Portfile @ 20293

Last change on this file since 20293 was 20293, checked in by blair@…, 14 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 20293 2006-11-01 17:47:33Z blair@macports.org $
2
3PortSystem      1.0
4
5name            nxml-mode
6version         20041004
7categories      editors lang
8maintainers     evenson@panix.com
9
10description             An Emacs mode for editing XML files
11long_description        A new major mode for GNU Emacs for editing XML documents. It \
12                        supports editing well-formed XML documents and also provides \
13                        schema-sensitive editing of XML documents using RELAX NG Compact \
14                        Syntax.
15
16
17homepage        http://www.thaiopensource.com/nxml-mode/
18master_sites    http://www.thaiopensource.com/download/
19checksums       sha1 5d21ca111957f86c9c237af9161f7ca482a1ef9f
20
21use_configure   no
22
23depends_lib     path:${prefix}/bin/emacs:emacs
24
25build.target    all
26build.args      "EMACS=${prefix}/bin/emacs"
27
28destroot {
29  cd ${worksrcpath}
30  set site_lisp_dest ${destroot}${prefix}/share/emacs/site-lisp/nxml-mode
31  xinstall -m 755 -d ${site_lisp_dest}
32  foreach file [glob *.el *.elc] {
33    xinstall -m 644 ${file} ${site_lisp_dest}
34  }
35  file copy char-name ${site_lisp_dest}
36  file copy schema ${site_lisp_dest}
37
38  file copy nxml-mode.info ${destroot}${prefix}/share/info
39}
40       
41post-activate {
42  ui_msg "To use this mode, put the following in your ~/.emacs:"
43  ui_msg "(load \"rng-auto.el\")"
44  ui_msg ""
45  ui_msg "To automatically visit files in nxml-mode add some flavor of:"
46  ui_msg "(add-to-list 'auto-mode-alist "
47  ui_msg "  '(\"\\.\\(xml\\|xsl\\|rng\\|xhtml\\)\\'\" . nxml-mode) nil)"
48}
49
Note: See TracBrowser for help on using the repository browser.