[35897] trunk/dports/editors/nxml-mode/Portfile

easieste at macports.org easieste at macports.org
Wed Apr 9 07:24:47 PDT 2008


Revision: 35897
          http://trac.macosforge.org/projects/macports/changeset/35897
Author:   easieste at macports.org
Date:     2008-04-09 07:24:43 -0700 (Wed, 09 Apr 2008)

Log Message:
-----------
Whitespace and comments changed.  Now lints without errors

Modified Paths:
--------------
    trunk/dports/editors/nxml-mode/Portfile

Modified: trunk/dports/editors/nxml-mode/Portfile
===================================================================
--- trunk/dports/editors/nxml-mode/Portfile	2008-04-09 14:06:41 UTC (rev 35896)
+++ trunk/dports/editors/nxml-mode/Portfile	2008-04-09 14:24:43 UTC (rev 35897)
@@ -1,4 +1,4 @@
-# $Id$
+# -*- 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$
 
 PortSystem	1.0
 
@@ -6,26 +6,28 @@
 version		20041004
 categories	editors lang
 maintainers	evenson at panix.com
+platforms   darwin
 
 description		An Emacs mode for editing XML files
-long_description	A new 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.
+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/
+homepage	    http://www.thaiopensource.com/nxml-mode/
 master_sites	http://www.thaiopensource.com/download/
-checksums	sha1 5d21ca111957f86c9c237af9161f7ca482a1ef9f
+checksums	    sha1 5d21ca111957f86c9c237af9161f7ca482a1ef9f
 
 use_configure	no
 
-depends_lib	path:${prefix}/bin/emacs:emacs
+depends_lib	    path:${prefix}/bin/emacs:emacs
 
 build.target	all
-build.args	"EMACS=${prefix}/bin/emacs"
+build.args	    "EMACS=${prefix}/bin/emacs"
 
-destroot { 
+destroot {
   cd ${worksrcpath}
   set site_lisp_dest ${destroot}${prefix}/share/emacs/site-lisp/nxml-mode
   xinstall -m 755 -d ${site_lisp_dest}
@@ -40,10 +42,11 @@
 	
 post-activate {
   ui_msg "To use this mode, put the following in your ~/.emacs:"
-  ui_msg "(load \"rng-auto.el\")"
+  ui_msg "  (load \"rng-auto.el\")"
   ui_msg ""
   ui_msg "To automatically visit files in nxml-mode add some flavor of:"
-  ui_msg "(add-to-list 'auto-mode-alist "
-  ui_msg "  '(\"\\.\\(xml\\|xsl\\|rng\\|xhtml\\)\\'\" . nxml-mode) nil)"
+  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)"
 }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080409/272be10a/attachment-0001.html


More information about the macports-changes mailing list