Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2000 11:39:06 -0400 (EDT)
From:      leo@florida.sarang.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21293: New Port: An emacs major mode for editing SGML and XML DTDs
Message-ID:  <200009151539.e8FFd6807719@jaguar.jaydaniel.com>

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

>Number:         21293
>Category:       ports
>Synopsis:       An emacs major mode for editing SGML and XML DTDs
>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:   Fri Sep 15 08:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Leo Kim
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
JDC
>Environment:

	FreeBSD 4.1-STABLE i386

>Description:

	This package contains an emacs major mode for editing SGML and XML DTDs. 
>How-To-Repeat:

	N/A

>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:
#
#	tdtd.el
#	tdtd.el/Makefile
#	tdtd.el/files
#	tdtd.el/files/md5
#	tdtd.el/pkg
#	tdtd.el/pkg/COMMENT
#	tdtd.el/pkg/DESCR
#	tdtd.el/pkg/PLIST
#	tdtd.el/pkg/MESSAGE
#
echo c - tdtd.el
mkdir -p tdtd.el > /dev/null 2>&1
echo x - tdtd.el/Makefile
sed 's/^X//' >tdtd.el/Makefile << 'END-of-tdtd.el/Makefile'
X# New ports collection makefile for:	tdtd.el
X# Date created:		15 September 2000
X# Whom:			Leo Kim <leo@florida.sarang.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tdtd.el
XPORTVERSION= 	0.7.1
XCATEGORIES=	textproc
XMASTER_SITES=	ftp://ftp.mulberrytech.com/pub/tdtd/
XDISTNAME=	tdtd071
XEXTRACT_SUFX=	.zip
X
XMAINTAINER=	leo@florida.sarang.net
X
XRUN_DEPENDS=	emacs:${PORTSDIR}/editors/emacs20
X
XNO_WRKSUBDIR=	yes
XNO_BUILD=	yes
XUSE_ZIP=	yes
X
XELISPDIR=	${PREFIX}/share/emacs/site-lisp
XDOCDIR=		${PREFIX}/doc
X
Xdo-install:
X	${MKDIR} ${ELISPDIR}
X	${MKDIR} ${DOCDIR}/${PORTNAME}
X	@(cd ${WRKSRC} && \
X		${INSTALL_DATA} tdtd.el tdtd-font.el ${ELISPDIR} && \
X		${INSTALL_DATA} TODO changelog.txt dot_emacs readme.txt tutorial.txt ${DOCDIR}/${PORTNAME} \
X	)
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-tdtd.el/Makefile
echo c - tdtd.el/files
mkdir -p tdtd.el/files > /dev/null 2>&1
echo x - tdtd.el/files/md5
sed 's/^X//' >tdtd.el/files/md5 << 'END-of-tdtd.el/files/md5'
XMD5 (tdtd071.zip) = 63960f6fc4f08089f1fa144a583d37fb
END-of-tdtd.el/files/md5
echo c - tdtd.el/pkg
mkdir -p tdtd.el/pkg > /dev/null 2>&1
echo x - tdtd.el/pkg/COMMENT
sed 's/^X//' >tdtd.el/pkg/COMMENT << 'END-of-tdtd.el/pkg/COMMENT'
XAn emacs major mode for editing SGML and XML DTDs
END-of-tdtd.el/pkg/COMMENT
echo x - tdtd.el/pkg/DESCR
sed 's/^X//' >tdtd.el/pkg/DESCR << 'END-of-tdtd.el/pkg/DESCR'
XThis package contains an emacs major mode for editing SGML and XML DTDs. 
X* FEATURES
X - Standalone mode for editing DTDs;
X - "Goto" menu for locating declarations within the current buffer;
X - `dtd-etags' function for creating Emacs TAGS files for easy lookup
X   across multiple files of any element, parameter entity, or
X   notation's definition using Emacs's built-in tag-lookup functions;
X - `dtd-grep' function for searching files that shares a file history
X   with `dtd-etags' for easy searching of the same files with both functions;
X - Specific font lock highlighting of declarations in XML DTDs, SGML
X   DTDs, SGML Declarations, and System Declarations so that the
X   important information stands out;
X - XML-specific behaviour that, at user option, is triggered by
X   automatic detection of the XML Declaration; 
X - Functions for writing and editing element, attribute, internal
X   parameter entity and external parameter entity declarations and
X   comments to ease creating and keeping a consistent style; and
X - Elements and parameter entity names referenced in declarations are
X   stored in minibuffer history to minimise retyping in new declarations.
X
XWWW: http://www.mulberrytech.com/tdtd/
X
X- Leo Kim
Xleo@florida.sarang.net
END-of-tdtd.el/pkg/DESCR
echo x - tdtd.el/pkg/PLIST
sed 's/^X//' >tdtd.el/pkg/PLIST << 'END-of-tdtd.el/pkg/PLIST'
Xshare/emacs/site-lisp/tdtd.el
Xshare/emacs/site-lisp/tdtd-font.el
Xdoc/tdtd.el/TODO
Xdoc/tdtd.el/changelog.txt
Xdoc/tdtd.el/dot_emacs
Xdoc/tdtd.el/readme.txt
Xdoc/tdtd.el/tutorial.txt
X@dirrm doc/tdtd.el
END-of-tdtd.el/pkg/PLIST
echo x - tdtd.el/pkg/MESSAGE
sed 's/^X//' >tdtd.el/pkg/MESSAGE << 'END-of-tdtd.el/pkg/MESSAGE'
X****************************************************************************
XTo use dtd-mode, add to your ~/.emacs the following lines:
X
X;; DTD mode
X(autoload 'dtd-mode "tdtd" "Major mode for SGML and XML DTDs." t)
X(autoload 'dtd-etags "tdtd"
X  "Execute etags on FILESPEC and match on DTD-specific regular expressions."
X  t)
X(autoload 'dtd-grep "tdtd" "Grep for PATTERN in files matching FILESPEC." t)
X
X;; Turn on font lock when in DTD mode
X(add-hook 'dtd-mode-hooks
X          'turn-on-font-lock)
X
X(setq auto-mode-alist
X      (append
X       (list
X        '("\\.dcl$" . dtd-mode)
X        '("\\.dec$" . dtd-mode)
X        '("\\.dtd$" . dtd-mode)
X        '("\\.ele$" . dtd-mode)
X        '("\\.ent$" . dtd-mode)
X        '("\\.mod$" . dtd-mode))
X       auto-mode-alist))
X
X;; To use resize-minibuffer-mode, uncomment this and include in your .emacs:
X;;(resize-minibuffer-mode)
X****************************************************************************
END-of-tdtd.el/pkg/MESSAGE
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?200009151539.e8FFd6807719>