summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-10-07 17:11:42 +0000
committerMamoru Komachi <usata@gentoo.org>2003-10-07 17:11:42 +0000
commitc8b254e5a88c722d6b902e18aa0932bf0a17a358 (patch)
tree29cec603d8c049cfe06e044a6b8c2d045a2f3685 /app-emacs
parentInitial import. Closing Bug #30396 (diff)
downloadgentoo-2-c8b254e5a88c722d6b902e18aa0932bf0a17a358.tar.gz
gentoo-2-c8b254e5a88c722d6b902e18aa0932bf0a17a358.tar.bz2
gentoo-2-c8b254e5a88c722d6b902e18aa0932bf0a17a358.zip
Initial import. Closing Bug #30396
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/tdtd/ChangeLog11
-rw-r--r--app-emacs/tdtd/Manifest7
-rw-r--r--app-emacs/tdtd/files/50tdtd-gentoo.el26
-rw-r--r--app-emacs/tdtd/files/digest-tdtd-0.7.11
-rw-r--r--app-emacs/tdtd/metadata.xml5
-rw-r--r--app-emacs/tdtd/tdtd-0.7.1.ebuild40
6 files changed, 87 insertions, 3 deletions
diff --git a/app-emacs/tdtd/ChangeLog b/app-emacs/tdtd/ChangeLog
new file mode 100644
index 000000000000..d32ec13ed33e
--- /dev/null
+++ b/app-emacs/tdtd/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-emacs/tdtd
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/tdtd/ChangeLog,v 1.1 2003/10/07 17:11:39 usata Exp $
+
+*tdtd-0.7.1 (08 Oct 2003)
+
+ 08 Oct 2003; Mamoru KOMACHI <usata@gentoo.org> tdtd-0.7.1.ebuild,
+ files/50tdtd-gentoo.el:
+ Initial import. Ebuild submitted by Matthieu Sozeau <mattam@altern.org>
+ This closes Bug #30396
+
diff --git a/app-emacs/tdtd/Manifest b/app-emacs/tdtd/Manifest
index fbbd89f7b56c..a7dd00f42726 100644
--- a/app-emacs/tdtd/Manifest
+++ b/app-emacs/tdtd/Manifest
@@ -1,4 +1,5 @@
-MD5 dacf2fd527929be885bb8f91ef3a0192 tdtd-0.7.1.ebuild 768
-MD5 4eb95036172d5dfb89d1b0f64a02dc67 tdtd-0.7.1.ebuild.bak 767
-MD5 ccc9d4fcf41af99402c6aa4c5c78346e files/50tdtd-gentoo.el 97
+MD5 65e3afc633b5a65351f426a8dc4f7fad tdtd-0.7.1.ebuild 899
+MD5 fcd33d07e4ee719b01157946734f4fe8 metadata.xml 158
+MD5 efb5fd40df9a560e7fc4ff6f5463be73 ChangeLog 431
+MD5 7f913c9caa9edb1a366f1bae84747555 files/50tdtd-gentoo.el 703
MD5 6903e10492aa08c3f301280d3c741b96 files/digest-tdtd-0.7.1 55
diff --git a/app-emacs/tdtd/files/50tdtd-gentoo.el b/app-emacs/tdtd/files/50tdtd-gentoo.el
new file mode 100644
index 000000000000..707451d957e1
--- /dev/null
+++ b/app-emacs/tdtd/files/50tdtd-gentoo.el
@@ -0,0 +1,26 @@
+
+;;; tdtd site-lisp configuration
+
+(autoload 'dtd-mode "tdtd" "Major mode to edit DTD files." 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/app-emacs/tdtd/files/digest-tdtd-0.7.1 b/app-emacs/tdtd/files/digest-tdtd-0.7.1
new file mode 100644
index 000000000000..ec1cc0f453d2
--- /dev/null
+++ b/app-emacs/tdtd/files/digest-tdtd-0.7.1
@@ -0,0 +1 @@
+MD5 63960f6fc4f08089f1fa144a583d37fb tdtd071.zip 37673
diff --git a/app-emacs/tdtd/metadata.xml b/app-emacs/tdtd/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/tdtd/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/tdtd/tdtd-0.7.1.ebuild b/app-emacs/tdtd/tdtd-0.7.1.ebuild
new file mode 100644
index 000000000000..9045b7739eba
--- /dev/null
+++ b/app-emacs/tdtd/tdtd-0.7.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/tdtd/tdtd-0.7.1.ebuild,v 1.1 2003/10/07 17:11:39 usata Exp $
+
+inherit elisp
+
+IUSE=""
+
+DESCRIPTION="Emacs Major Mode for SGML and XML DTDs"
+HOMEPAGE="http://www.menteith.com/tdtd/"
+SRC_URI="http://www.menteith.com/tdtd/data/${PN}${PV//./}.zip"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="virtual/emacs"
+
+SITEFILE=50tdtd-gentoo.el
+
+S=${WORKDIR}
+
+src_compile() {
+
+ export EMACSLOADPATH=.:/usr/share/emacs/21.3/lisp
+ emacs --batch -l font-lock -l mail/sendmail -f batch-byte-compile --no-init-file *.el || die
+}
+
+src_install() {
+ elisp-install ${PN} *.el *.elc
+ elisp-site-file-install ${FILESDIR}/${SITEFILE}
+ dodoc TODO changelog.txt readme.txt tutorial.txt
+}
+
+pkg_postinst() {
+ elisp-site-regen
+}
+
+pkg_postrm() {
+ elisp-site-regen
+}