diff options
author | Clive Lin <clive@FreeBSD.org> | 2001-01-03 21:05:06 +0000 |
---|---|---|
committer | Clive Lin <clive@FreeBSD.org> | 2001-01-03 21:05:06 +0000 |
commit | 43c2522422d8799fc18a441f7fd0db16873a8a2e (patch) | |
tree | dd747bbd11bdb8eef942305bed243a49a3b12844 /textproc/tdtd.el | |
parent | use USE_GTK instead. (diff) |
New port: tdtd.el
Emacs major mode for editing SGML and XML DTDs.
PR: 21293
Notes
Notes:
svn path=/head/; revision=36674
Diffstat (limited to 'textproc/tdtd.el')
-rw-r--r-- | textproc/tdtd.el/Makefile | 37 | ||||
-rw-r--r-- | textproc/tdtd.el/distinfo | 1 | ||||
-rw-r--r-- | textproc/tdtd.el/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/tdtd.el/pkg-descr | 24 | ||||
-rw-r--r-- | textproc/tdtd.el/pkg-message | 28 | ||||
-rw-r--r-- | textproc/tdtd.el/pkg-plist | 8 |
6 files changed, 99 insertions, 0 deletions
diff --git a/textproc/tdtd.el/Makefile b/textproc/tdtd.el/Makefile new file mode 100644 index 000000000000..f125b23cba2a --- /dev/null +++ b/textproc/tdtd.el/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: tdtd.el +# Date created: 15 September 2000 +# Whom: Leo Kim <leo@florida.sarang.net> +# +# $FreeBSD$ +# + +PORTNAME= tdtd.el +PORTVERSION= 0.7.1 +CATEGORIES= textproc +MASTER_SITES= http://www.menteith.com/tdtd/data/ +DISTNAME= tdtd071 +EXTRACT_SUFX= .zip + +MAINTAINER= leo@florida.sarang.net + +RUN_DEPENDS= emacs:${PORTSDIR}/editors/emacs20 + +NO_WRKSUBDIR= yes +NO_BUILD= yes +USE_ZIP= yes + +ELISPDIR= ${PREFIX}/share/emacs/site-lisp +DOCDIR= ${PREFIX}/share/doc + +do-install: + ${MKDIR} ${ELISPDIR} + ${MKDIR} ${DOCDIR}/${PORTNAME} + @(cd ${WRKSRC} && \ + ${INSTALL_DATA} tdtd.el tdtd-font.el ${ELISPDIR} && \ + ${INSTALL_DATA} TODO changelog.txt dot_emacs readme.txt tutorial.txt ${DOCDIR}/${PORTNAME} \ + ) + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/textproc/tdtd.el/distinfo b/textproc/tdtd.el/distinfo new file mode 100644 index 000000000000..514683e965fc --- /dev/null +++ b/textproc/tdtd.el/distinfo @@ -0,0 +1 @@ +MD5 (tdtd071.zip) = 63960f6fc4f08089f1fa144a583d37fb diff --git a/textproc/tdtd.el/pkg-comment b/textproc/tdtd.el/pkg-comment new file mode 100644 index 000000000000..90419efc1e8c --- /dev/null +++ b/textproc/tdtd.el/pkg-comment @@ -0,0 +1 @@ +An emacs major mode for editing SGML and XML DTDs diff --git a/textproc/tdtd.el/pkg-descr b/textproc/tdtd.el/pkg-descr new file mode 100644 index 000000000000..acba3a44d4c0 --- /dev/null +++ b/textproc/tdtd.el/pkg-descr @@ -0,0 +1,24 @@ +This package contains an emacs major mode for editing SGML and XML DTDs. +* FEATURES + - Standalone mode for editing DTDs; + - "Goto" menu for locating declarations within the current buffer; + - `dtd-etags' function for creating Emacs TAGS files for easy lookup + across multiple files of any element, parameter entity, or + notation's definition using Emacs's built-in tag-lookup functions; + - `dtd-grep' function for searching files that shares a file history + with `dtd-etags' for easy searching of the same files with both functions; + - Specific font lock highlighting of declarations in XML DTDs, SGML + DTDs, SGML Declarations, and System Declarations so that the + important information stands out; + - XML-specific behaviour that, at user option, is triggered by + automatic detection of the XML Declaration; + - Functions for writing and editing element, attribute, internal + parameter entity and external parameter entity declarations and + comments to ease creating and keeping a consistent style; and + - Elements and parameter entity names referenced in declarations are + stored in minibuffer history to minimise retyping in new declarations. + +WWW: http://www.mulberrytech.com/tdtd/ + +- Leo Kim +leo@florida.sarang.net diff --git a/textproc/tdtd.el/pkg-message b/textproc/tdtd.el/pkg-message new file mode 100644 index 000000000000..49227f495931 --- /dev/null +++ b/textproc/tdtd.el/pkg-message @@ -0,0 +1,28 @@ +**************************************************************************** +To use dtd-mode, add to your ~/.emacs the following lines: + +;; DTD mode +(autoload 'dtd-mode "tdtd" "Major mode for SGML and XML DTDs." t) +(autoload 'dtd-etags "tdtd" + "Execute etags on FILESPEC and match on DTD-specific regular expressions." + t) +(autoload 'dtd-grep "tdtd" "Grep for PATTERN in files matching FILESPEC." t) + +;; Turn on font lock when in DTD mode +(add-hook 'dtd-mode-hooks + 'turn-on-font-lock) + +(setq auto-mode-alist + (append + (list + '("\\.dcl$" . dtd-mode) + '("\\.dec$" . dtd-mode) + '("\\.dtd$" . dtd-mode) + '("\\.ele$" . dtd-mode) + '("\\.ent$" . dtd-mode) + '("\\.mod$" . dtd-mode)) + auto-mode-alist)) + +;; To use resize-minibuffer-mode, uncomment this and include in your .emacs: +;;(resize-minibuffer-mode) +**************************************************************************** diff --git a/textproc/tdtd.el/pkg-plist b/textproc/tdtd.el/pkg-plist new file mode 100644 index 000000000000..26ecbeb01f00 --- /dev/null +++ b/textproc/tdtd.el/pkg-plist @@ -0,0 +1,8 @@ +share/emacs/site-lisp/tdtd.el +share/emacs/site-lisp/tdtd-font.el +share/doc/tdtd.el/TODO +share/doc/tdtd.el/changelog.txt +share/doc/tdtd.el/dot_emacs +share/doc/tdtd.el/readme.txt +share/doc/tdtd.el/tutorial.txt +@dirrm share/doc/tdtd.el |