aboutsummaryrefslogtreecommitdiff
path: root/textproc/docbookide.el
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/docbookide.el')
-rw-r--r--textproc/docbookide.el/Makefile35
-rw-r--r--textproc/docbookide.el/distinfo1
-rw-r--r--textproc/docbookide.el/pkg-comment1
-rw-r--r--textproc/docbookide.el/pkg-descr14
-rw-r--r--textproc/docbookide.el/pkg-message21
-rw-r--r--textproc/docbookide.el/pkg-plist14
6 files changed, 86 insertions, 0 deletions
diff --git a/textproc/docbookide.el/Makefile b/textproc/docbookide.el/Makefile
new file mode 100644
index 000000000000..b26ef5d095ea
--- /dev/null
+++ b/textproc/docbookide.el/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: docbookide
+# Date created: 2 July 2002
+# Whom: Sean Chittenden <sean@chittenden.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= docbookide.el
+PORTVERSION= 0.1
+CATEGORIES= textproc elisp
+MASTER_SITES= http://nwalsh.com/emacs/docbookide/
+DISTNAME= docbookide01
+
+MAINTAINER= sean@chittenden.org
+
+USE_ZIP= yes
+WRKSRC= ${WRKDIR}/docbookide
+NO_BUILD= yes
+
+ELISP_FILES= dbide-abbrev.el dbide-data.el dbide-font.el \
+ dbide-process.el docbookide.el make-regexp.el
+
+EMACS_LISPDIR= ${PREFIX}/share/emacs/site-lisp/docbookide
+XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp/docbookide
+
+do-install:
+ ${MKDIR} ${EMACS_LISPDIR}
+ ${MKDIR} ${XEMACSLISPDIR}
+.for f in ${ELISP_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${EMACS_LISPDIR}/
+ ${LN} -sf ${EMACS_LISPDIR}/${f} ${XEMACSLISPDIR}/
+.endfor
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/textproc/docbookide.el/distinfo b/textproc/docbookide.el/distinfo
new file mode 100644
index 000000000000..f8232b999515
--- /dev/null
+++ b/textproc/docbookide.el/distinfo
@@ -0,0 +1 @@
+MD5 (docbookide01.zip) = d436dabbf53c35c22545aabf69eca7fd
diff --git a/textproc/docbookide.el/pkg-comment b/textproc/docbookide.el/pkg-comment
new file mode 100644
index 000000000000..8fccd3f1abc3
--- /dev/null
+++ b/textproc/docbookide.el/pkg-comment
@@ -0,0 +1 @@
+Emacs lisp modules for editing DocBook documents
diff --git a/textproc/docbookide.el/pkg-descr b/textproc/docbookide.el/pkg-descr
new file mode 100644
index 000000000000..0331124d4eef
--- /dev/null
+++ b/textproc/docbookide.el/pkg-descr
@@ -0,0 +1,14 @@
+docbook-mode.el (aka: DocBook IDE) is an emacs major mode for editing
+DocBook documents. DocBook IDE features:
+
+*) Font lock highlighting for DocBook elements and attributes
+*) 'docbook-complete' function for inserting elements and attribute
+ names
+*) 'docbook-insert-tag' function for inserting matching start- and
+ end-tags
+*) Automatic insertion of element context (e.g. firstname and surname
+ in author)
+*) Automatic completion of end-tags
+*) Comprehensive abbreviations table for further ease of typing
+
+WWW: http://nwalsh.com/emacs/docbookide/
diff --git a/textproc/docbookide.el/pkg-message b/textproc/docbookide.el/pkg-message
new file mode 100644
index 000000000000..d5897f167183
--- /dev/null
+++ b/textproc/docbookide.el/pkg-message
@@ -0,0 +1,21 @@
+===
+To use docbook-mode, add the following lines to your ~/.emacs:
+
+;; DocBook IDE mode
+(autoload 'docbook-mode "docbookide" "Major mode for DocBook documents." t)
+
+;; Turn on font lock when in DocBook mode
+(add-hook 'docbook-mode-hook
+ 'turn-on-font-lock)
+
+;; You might want to make this the default for .sgml or .xml documents,
+;; or you might want to rely on -*- DocBook -*- on the first line,
+;; or perhaps buffer variables. It's up to you...
+(setq auto-mode-alist
+ (append
+ (list
+ '("\\.sgm" . docbook-mode))
+ '("\\.sgml" . docbook-mode))
+ '("\\.xml" . docbook-mode))
+ auto-mode-alist))
+===
diff --git a/textproc/docbookide.el/pkg-plist b/textproc/docbookide.el/pkg-plist
new file mode 100644
index 000000000000..6b8e6be7afa0
--- /dev/null
+++ b/textproc/docbookide.el/pkg-plist
@@ -0,0 +1,14 @@
+share/emacs/site-lisp/docbookide/dbide-abbrev.el
+share/emacs/site-lisp/docbookide/dbide-data.el
+share/emacs/site-lisp/docbookide/dbide-font.el
+share/emacs/site-lisp/docbookide/dbide-process.el
+share/emacs/site-lisp/docbookide/docbookide.el
+share/emacs/site-lisp/docbookide/make-regexp.el
+lib/xemacs/site-lisp/docbookide/dbide-abbrev.el
+lib/xemacs/site-lisp/docbookide/dbide-data.el
+lib/xemacs/site-lisp/docbookide/dbide-font.el
+lib/xemacs/site-lisp/docbookide/dbide-process.el
+lib/xemacs/site-lisp/docbookide/docbookide.el
+lib/xemacs/site-lisp/docbookide/make-regexp.el
+@dirrm share/emacs/site-lisp/docbookide
+@dirrm lib/xemacs/site-lisp/docbookide