summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/template')
-rw-r--r--app-emacs/template/ChangeLog11
-rw-r--r--app-emacs/template/Manifest20
-rw-r--r--app-emacs/template/files/50template-gentoo.el23
-rw-r--r--app-emacs/template/files/digest-template-3.1c2
-rw-r--r--app-emacs/template/metadata.xml5
-rw-r--r--app-emacs/template/template-3.1c.ebuild31
6 files changed, 92 insertions, 0 deletions
diff --git a/app-emacs/template/ChangeLog b/app-emacs/template/ChangeLog
new file mode 100644
index 000000000000..640703a7bc61
--- /dev/null
+++ b/app-emacs/template/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-emacs/template
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/template/ChangeLog,v 1.1 2008/01/23 13:57:14 opfer Exp $
+
+*template-3.1c (23 Jan 2008)
+
+ 23 Jan 2008; Christian Faulhammer <opfer@gentoo.org>
+ +files/50template-gentoo.el, +metadata.xml, +template-3.1c.ebuild:
+ Initial import. Ebuild contributed by MATSUYAMA Tomohiro
+ <matsuyama AT ariel-networks DOT com>, bug #194212
+
diff --git a/app-emacs/template/Manifest b/app-emacs/template/Manifest
new file mode 100644
index 000000000000..32847a600af7
--- /dev/null
+++ b/app-emacs/template/Manifest
@@ -0,0 +1,20 @@
+AUX 50template-gentoo.el 1008 RMD160 0bb747290eb615ff904b6cd9e7dcab64675f8dbd SHA1 e8737a37c59877aeff0ba5dcbab3390b63c3efae SHA256 b983365e39b29bc6d6e9799f687b863809585f3bfeecbcfbf84e400c2fe0fd8c
+MD5 05bd73310a0c70665990ae257bdf06ea files/50template-gentoo.el 1008
+RMD160 0bb747290eb615ff904b6cd9e7dcab64675f8dbd files/50template-gentoo.el 1008
+SHA256 b983365e39b29bc6d6e9799f687b863809585f3bfeecbcfbf84e400c2fe0fd8c files/50template-gentoo.el 1008
+DIST template-3.1c.tar.gz 37903 RMD160 a981864d50d653f245ad4ed549e691b71afb0275 SHA1 e80bc06743fc12a43256f9d6c42563bfa18ac0fb SHA256 d71885ec8d230a5a7cc909f052b97ed7cc30423ca0e2647392424dfd10459845
+EBUILD template-3.1c.ebuild 809 RMD160 635f9abc782c74a219187a58a049c1f5aa821cb2 SHA1 13d12f4d6f187d3e5818f57ebe4609dd70c80c7f SHA256 d66273dbdfb006b94a2da8defd9787458ba3753bfabcb60949b26b36a36711bf
+MD5 a6c057685e7fa97492a7d91ecb18573c template-3.1c.ebuild 809
+RMD160 635f9abc782c74a219187a58a049c1f5aa821cb2 template-3.1c.ebuild 809
+SHA256 d66273dbdfb006b94a2da8defd9787458ba3753bfabcb60949b26b36a36711bf template-3.1c.ebuild 809
+MISC ChangeLog 388 RMD160 dd55a88b215b3235933e6edb78eca403cd49ea7a SHA1 deb80011de5c6da60182af2fa9390dfc3c2f8675 SHA256 1dde5be45752fb762a837ddc2113437a403bda2e60cef06b27d5d633eb1d75e0
+MD5 a7e1563354008de373b3c67cf81e4d94 ChangeLog 388
+RMD160 dd55a88b215b3235933e6edb78eca403cd49ea7a ChangeLog 388
+SHA256 1dde5be45752fb762a837ddc2113437a403bda2e60cef06b27d5d633eb1d75e0 ChangeLog 388
+MISC metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 SHA1 61f6eff9729cd87a725c2a70c81aca4270a17fc4 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab
+MD5 fcd33d07e4ee719b01157946734f4fe8 metadata.xml 158
+RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 metadata.xml 158
+SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab metadata.xml 158
+MD5 e8dbc2cc7bce5f654e9805014400c614 files/digest-template-3.1c 174
+RMD160 47a31bd767e9f6805483809d8bde01cce0af87ba files/digest-template-3.1c 174
+SHA256 67851c9e3a5c5f0a8ea73ac874dacba98ca17f7e3ef36d03a2ce5e7caa302faf files/digest-template-3.1c 174
diff --git a/app-emacs/template/files/50template-gentoo.el b/app-emacs/template/files/50template-gentoo.el
new file mode 100644
index 000000000000..19bceb39174e
--- /dev/null
+++ b/app-emacs/template/files/50template-gentoo.el
@@ -0,0 +1,23 @@
+
+;;; template site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'template-single-comment "template"
+ "Decorate the comment in the current line with dashes and alike." t)
+(autoload 'template-block-comment "template"
+ "Decorate the current block of comment-only lines with dashes and alike." t)
+(autoload 'template-update-header "template"
+ "Replace old file name in header with current file name." t)
+(autoload 'template-expand-template "template"
+ "Expand template file TEMPLATE and insert result in current buffer." t)
+(autoload 'template-new-file "template"
+ "Open a new file FILE by using a TEMPLATE." t)
+(autoload 'template-initialize "template"
+ "Initialized package template. See variable `template-initialize'." t)
+
+(setq template-default-directories
+ (list (if (and (not (file-directory-p "~/.templates/"))
+ (file-directory-p "~/lib/templates"))
+ (expand-file-name "~/lib/templates/")
+ (expand-file-name "~/.templates/"))
+ "@SITELISP@/templates"))
diff --git a/app-emacs/template/files/digest-template-3.1c b/app-emacs/template/files/digest-template-3.1c
new file mode 100644
index 000000000000..f65206a5e53d
--- /dev/null
+++ b/app-emacs/template/files/digest-template-3.1c
@@ -0,0 +1,2 @@
+RMD160 a981864d50d653f245ad4ed549e691b71afb0275 template-3.1c.tar.gz 37903
+SHA256 d71885ec8d230a5a7cc909f052b97ed7cc30423ca0e2647392424dfd10459845 template-3.1c.tar.gz 37903
diff --git a/app-emacs/template/metadata.xml b/app-emacs/template/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/template/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/template/template-3.1c.ebuild b/app-emacs/template/template-3.1c.ebuild
new file mode 100644
index 000000000000..ec3c0439b3b5
--- /dev/null
+++ b/app-emacs/template/template-3.1c.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/template/template-3.1c.ebuild,v 1.1 2008/01/23 13:57:14 opfer Exp $
+
+inherit elisp
+
+DESCRIPTION="Use templates, decorate comments, auto-update buffers"
+HOMEPAGE="http://emacs-template.sourceforge.net/"
+SRC_URI="mirror://sourceforge/emacs-template/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+SITEFILE=50${PN}-gentoo.el
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ elisp-compile lisp/*.el || die "elisp-compile failed"
+}
+
+src_install() {
+ elisp-install ${PN} lisp/*.{el,elc} || die "elisp-install failed"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
+ || die "elisp-site-file-install failed"
+
+ insinto "${SITELISP}/${PN}/templates"
+ doins templates/*.tpl || die "doins failed"
+ dodoc README lisp/ChangeLog || die "dodoc failed"
+}