summaryrefslogtreecommitdiffstats
path: root/textproc/tdtd.el
diff options
context:
space:
mode:
authorclive <clive@FreeBSD.org>2001-01-03 21:05:06 +0000
committerclive <clive@FreeBSD.org>2001-01-03 21:05:06 +0000
commita5894965f5df3514e1b6c73407c4b69c84d00a05 (patch)
tree1c5bffb3b150d1fb0fb38f81ea78835af5a694c5 /textproc/tdtd.el
parent1749b12c7b75015f2bc242be518221a1c566fd60 (diff)
downloadFreeBSD-ports-a5894965f5df3514e1b6c73407c4b69c84d00a05.zip
FreeBSD-ports-a5894965f5df3514e1b6c73407c4b69c84d00a05.tar.gz
New port: tdtd.el
Emacs major mode for editing SGML and XML DTDs. PR: 21293
Diffstat (limited to 'textproc/tdtd.el')
-rw-r--r--textproc/tdtd.el/Makefile37
-rw-r--r--textproc/tdtd.el/distinfo1
-rw-r--r--textproc/tdtd.el/pkg-comment1
-rw-r--r--textproc/tdtd.el/pkg-descr24
-rw-r--r--textproc/tdtd.el/pkg-message28
-rw-r--r--textproc/tdtd.el/pkg-plist8
6 files changed, 99 insertions, 0 deletions
diff --git a/textproc/tdtd.el/Makefile b/textproc/tdtd.el/Makefile
new file mode 100644
index 0000000..f125b23
--- /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 0000000..514683e
--- /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 0000000..90419ef
--- /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 0000000..acba3a4
--- /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 0000000..49227f4
--- /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 0000000..26ecbeb
--- /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
OpenPOWER on IntegriCloud