From owner-freebsd-ports Tue Jul 2 17:30:15 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2901437B400 for ; Tue, 2 Jul 2002 17:30:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66B3643E4E for ; Tue, 2 Jul 2002 17:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g630U1JU038249 for ; Tue, 2 Jul 2002 17:30:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g630U1jT038248; Tue, 2 Jul 2002 17:30:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C499237B400 for ; Tue, 2 Jul 2002 17:26:38 -0700 (PDT) Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53A0243E3D for ; Tue, 2 Jul 2002 17:26:38 -0700 (PDT) (envelope-from sean@rand.tgd.net) Received: (qmail 12786 invoked from network); 3 Jul 2002 00:26:37 -0000 Received: from unknown (HELO rand.tgd.net) ([64.81.67.117]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 3 Jul 2002 00:26:37 -0000 Received: by rand.tgd.net (Postfix, from userid 1001) id 1A297D10A1; Tue, 2 Jul 2002 17:26:36 -0700 (PDT) Message-Id: <20020703002636.1A297D10A1@rand.tgd.net> Date: Tue, 2 Jul 2002 17:26:36 -0700 (PDT) From: Sean Chittenden Reply-To: Sean Chittenden To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/40129: New port: editors/docbook-mode.el Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 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 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