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

Last change on this file was 50984, checked in by and.damore@…, 8 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

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