diff options
author | clive <clive@FreeBSD.org> | 2001-01-04 05:05:06 +0800 |
---|---|---|
committer | clive <clive@FreeBSD.org> | 2001-01-04 05:05:06 +0800 |
commit | a5894965f5df3514e1b6c73407c4b69c84d00a05 (patch) | |
tree | 1c5bffb3b150d1fb0fb38f81ea78835af5a694c5 /textproc | |
parent | 1749b12c7b75015f2bc242be518221a1c566fd60 (diff) | |
download | freebsd-ports-gnome-a5894965f5df3514e1b6c73407c4b69c84d00a05.tar.gz freebsd-ports-gnome-a5894965f5df3514e1b6c73407c4b69c84d00a05.tar.zst freebsd-ports-gnome-a5894965f5df3514e1b6c73407c4b69c84d00a05.zip |
New port: tdtd.el
Emacs major mode for editing SGML and XML DTDs.
PR: 21293
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-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 |
7 files changed, 100 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 2ab02f2c5cbc..aa1d272b737d 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -121,6 +121,7 @@ SUBDIR += sgmltools-lite SUBDIR += sgrep SUBDIR += sp + SUBDIR += tdtd.el SUBDIR += texi2html SUBDIR += textutils SUBDIR += tkdiff 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 |