summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2008-01-23 13:57:15 +0000
committerChristian Faulhammer <fauli@gentoo.org>2008-01-23 13:57:15 +0000
commitf755a0efba52a5afb4246d0f9f714adf32582c82 (patch)
treea9ad68b034c03402d06dbaa55e62f3cf75bf12a0 /app-emacs/template
parentinitial commit, taken from Emacs overlay, provided by flameeyes, massaged by ulm (diff)
downloadhistorical-f755a0efba52a5afb4246d0f9f714adf32582c82.tar.gz
historical-f755a0efba52a5afb4246d0f9f714adf32582c82.tar.bz2
historical-f755a0efba52a5afb4246d0f9f714adf32582c82.zip
Initial import. Ebuild contributed by MATSUYAMA Tomohiro
<matsuyama AT ariel-networks DOT com>, bug #194212 Package-Manager: portage-2.1.3.19
Diffstat (limited to 'app-emacs/template')
-rw-r--r--app-emacs/template/ChangeLog11
-rw-r--r--app-emacs/template/Manifest30
-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, 102 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..7c146803eb14
--- /dev/null
+++ b/app-emacs/template/Manifest
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+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 909 RMD160 528b226b168e04346a7495f3a3cd5fdd7f7d5641 SHA1 145de45fabe38704e43bbe2d7061c6e902e1d87d SHA256 dc561b702a6d5a9146352d3c742b34eef0b5a58dccbfe24c806a8f3cc3512752
+MD5 1db0427f89fe979bd95ca522ef995184 template-3.1c.ebuild 909
+RMD160 528b226b168e04346a7495f3a3cd5fdd7f7d5641 template-3.1c.ebuild 909
+SHA256 dc561b702a6d5a9146352d3c742b34eef0b5a58dccbfe24c806a8f3cc3512752 template-3.1c.ebuild 909
+MISC ChangeLog 477 RMD160 1e5b864d052e73e406a0bd465016e7d8616abcfe SHA1 3cb963f770c22a9f7972646e4d1620b0f97152ab SHA256 e299a67163a7f8e7069a285b57cd9e85236c54567afe8d344ee10086a12a35f2
+MD5 9c5f61043f701b203d1768766c770c28 ChangeLog 477
+RMD160 1e5b864d052e73e406a0bd465016e7d8616abcfe ChangeLog 477
+SHA256 e299a67163a7f8e7069a285b57cd9e85236c54567afe8d344ee10086a12a35f2 ChangeLog 477
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHl0flNQqtfCuFneMRAvYYAJ9AHjVog16BPNSl97xkXqLIbO723gCfebDc
+Cwf6mG7+OpJEEUlmXL9YBiU=
+=pChz
+-----END PGP SIGNATURE-----
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"
+}