summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/session')
-rw-r--r--app-emacs/session/Manifest1
-rw-r--r--app-emacs/session/files/50session-gentoo.el1
-rw-r--r--app-emacs/session/metadata.xml8
-rw-r--r--app-emacs/session/session-2.3a.ebuild22
4 files changed, 32 insertions, 0 deletions
diff --git a/app-emacs/session/Manifest b/app-emacs/session/Manifest
new file mode 100644
index 00000000000..c868af674e4
--- /dev/null
+++ b/app-emacs/session/Manifest
@@ -0,0 +1 @@
+DIST session-2.3a.tar.gz 26648 SHA256 592237b1380f3cbbdfa83629f386d5f82b15171930832bd8baf1db26342ad9e2 SHA512 eb0721c780256ca5dfcdf5071d73a89e3e7e477bbe2ddc380adaf7a7cbf870bbc0e334192f59362df93571ff91063d53df918761322e31d7c6ffa8059d4bc15a WHIRLPOOL 63e2084204dbf3680c407aa48fbad18633f190ffde64b7699cbeb6c282604dc3c26910d2f557d3f031ee287b9873d93412d3ae2bf896f65840de174b2ea23d76
diff --git a/app-emacs/session/files/50session-gentoo.el b/app-emacs/session/files/50session-gentoo.el
new file mode 100644
index 00000000000..431f7e90ae7
--- /dev/null
+++ b/app-emacs/session/files/50session-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/session/metadata.xml b/app-emacs/session/metadata.xml
new file mode 100644
index 00000000000..1839c43c667
--- /dev/null
+++ b/app-emacs/session/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="sourceforge">emacs-session</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/session/session-2.3a.ebuild b/app-emacs/session/session-2.3a.ebuild
new file mode 100644
index 00000000000..f1e5816ee49
--- /dev/null
+++ b/app-emacs/session/session-2.3a.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="When you start Emacs, Session restores various variables from your last session"
+HOMEPAGE="http://emacs-session.sourceforge.net/"
+SRC_URI="mirror://sourceforge/emacs-session/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+S="${WORKDIR}/${PN}/lisp"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="../INSTALL ../README ChangeLog"
+DOC_CONTENTS="Add the following to your ~/.emacs to use session:
+ \n\t(require 'session)
+ \n\t(add-hook 'after-init-hook 'session-initialize)"