Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  2 Jul 2002 17:26:36 -0700 (PDT)
From:      Sean Chittenden <sean@chittenden.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40129: New port: editors/docbook-mode.el
Message-ID:  <20020703002636.1A297D10A1@rand.tgd.net>

next in thread | raw e-mail | index | archive | help

>Number:         40129
>Category:       ports
>Synopsis:       New port: editors/docbook-mode.el
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 02 17:30:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sean Chittenden
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD rand.tgd.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Jun 27 12:55:56 PDT 2002 sean@rand.tgd.net:/usr/obj/usr/src/sys/DELLAPTOP i386


>Description:
New port: editors/docbook-mode.el (aka: DocBookIDE)
>How-To-Repeat:
1) Write excessively large amount of DocBook
2) Get frustrated with verbosity of DocBook
3) Find DocBook mode
4) Apply patch below
5) Let wrists/fingers take you out for a drink later
>Fix:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	editors/docbook-mode.el
#	editors/docbook-mode.el/Makefile
#	editors/docbook-mode.el/pkg-message
#	editors/docbook-mode.el/distinfo
#	editors/docbook-mode.el/pkg-plist
#	editors/docbook-mode.el/pkg-comment
#	editors/docbook-mode.el/pkg-descr
#
echo c - editors/docbook-mode.el
mkdir -p editors/docbook-mode.el > /dev/null 2>&1
echo x - editors/docbook-mode.el/Makefile
sed 's/^X//' >editors/docbook-mode.el/Makefile << 'END-of-editors/docbook-mode.el/Makefile'
X# New ports collection makefile for:	docbook-mode.el
X# Date created:		2 July 2002
X# Whom:			Sean Chittenden <sean@chittenden.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	docbook-mode.el
XPORTVERSION=	0.1
XCATEGORIES=	lang ruby elisp
XMASTER_SITES=	http://nwalsh.com/emacs/docbookide/
XDISTFILES=	docbookide01.zip
X
XMAINTAINER=	sean@chittenden.org
X
XUSE_ZIP=	yes
XWRKSRC=		${WRKDIR}/docbookide
XNO_BUILD=	yes
X
XELISP_FILES=	dbide-abbrev.el dbide-data.el dbide-font.el \
X		dbide-process.el docbookide.el make-regexp.el
X
XEMACSLISPDIR=	${PREFIX}/share/emacs/site-lisp
XXEMACSLISPDIR=	${PREFIX}/lib/xemacs/site-lisp
X
Xdo-install:
X	${INSTALL_DATA} ${WRKSRC}/* ${EMACS_ELISPDIR}/
X	${MKDIR} ${XEMACSLISPDIR}
X.for f in ${ELISP_FILES}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${EMACSLISPDIR}/
X	${INSTALL_DATA} ${WRKSRC}/${f} ${XEMACSLISPDIR}/
X.endfor
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-editors/docbook-mode.el/Makefile
echo x - editors/docbook-mode.el/pkg-message
sed 's/^X//' >editors/docbook-mode.el/pkg-message << 'END-of-editors/docbook-mode.el/pkg-message'
X===
XTo use docbook-mode, add the following lines to your ~/.emacs:
X
X;; DocBook IDE mode
X(autoload 'docbook-mode "docbookide" "Major mode for DocBook documents." t)
X
X;; Turn on font lock when in DocBook mode
X(add-hook 'docbook-mode-hook
X	  'turn-on-font-lock)
X
X;; You might want to make this the default for .sgml or .xml documents,
X;; or you might want to rely on -*- DocBook -*- on the first line,
X;; or perhaps buffer variables. It's up to you...
X(setq auto-mode-alist
X      (append
X       (list
X	'("\\.sgm" . docbook-mode))
X	'("\\.sgml" . docbook-mode))
X	'("\\.xml" . docbook-mode))
X       auto-mode-alist))
X===
END-of-editors/docbook-mode.el/pkg-message
echo x - editors/docbook-mode.el/distinfo
sed 's/^X//' >editors/docbook-mode.el/distinfo << 'END-of-editors/docbook-mode.el/distinfo'
XMD5 (docbookide01.zip) = d436dabbf53c35c22545aabf69eca7fd
END-of-editors/docbook-mode.el/distinfo
echo x - editors/docbook-mode.el/pkg-plist
sed 's/^X//' >editors/docbook-mode.el/pkg-plist << 'END-of-editors/docbook-mode.el/pkg-plist'
Xshare/emacs/site-lisp/dbide-abbrev.el
Xshare/emacs/site-lisp/dbide-data.el
Xshare/emacs/site-lisp/dbide-font.el
Xshare/emacs/site-lisp/dbide-process.el
Xshare/emacs/site-lisp/docbookide.el
Xshare/emacs/site-lisp/make-regexp.el
Xlib/xemacs/site-lisp/dbide-abbrev.el
Xlib/xemacs/site-lisp/dbide-data.el
Xlib/xemacs/site-lisp/dbide-font.el
Xlib/xemacs/site-lisp/dbide-process.el
Xlib/xemacs/site-lisp/docbookide.el
Xlib/xemacs/site-lisp/make-regexp.el
END-of-editors/docbook-mode.el/pkg-plist
echo x - editors/docbook-mode.el/pkg-comment
sed 's/^X//' >editors/docbook-mode.el/pkg-comment << 'END-of-editors/docbook-mode.el/pkg-comment'
XEmacs lisp modules for editing DocBook documents
END-of-editors/docbook-mode.el/pkg-comment
echo x - editors/docbook-mode.el/pkg-descr
sed 's/^X//' >editors/docbook-mode.el/pkg-descr << 'END-of-editors/docbook-mode.el/pkg-descr'
Xdocbook-mode.el (aka: DocBook IDE) is an emacs major mode for editing
XDocBook documents.  DocBook IDE features:
X
X*) Font lock highlighting for DocBook elements and attributes
X*) 'docbook-complete' function for inserting elements and attribute
X   names
X*) 'docbook-insert-tag' function for inserting matching start- and
X   end-tags
X*) Automatic insertion of element context (e.g. firstname and surname
X   in author)
X*) Automatic completion of end-tags
X*) Comprehensive abbreviations table for further ease of typing
X
XWWW:	http://nwalsh.com/emacs/docbookide/
END-of-editors/docbook-mode.el/pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020703002636.1A297D10A1>