summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2007-07-10 06:28:03 +0000
committerChristian Faulhammer <opfer@gentoo.org>2007-07-10 06:28:03 +0000
commitdcfbfa225a505ec5cd36d6c3cd2da1eb2a9db81b (patch)
treea356ff6be221bf00a3612792ef6b5d2c6198a026 /app-emacs/session
parentupdated desktop category and added desktop_database_update to pkg_post (diff)
downloadgentoo-2-dcfbfa225a505ec5cd36d6c3cd2da1eb2a9db81b.tar.gz
gentoo-2-dcfbfa225a505ec5cd36d6c3cd2da1eb2a9db81b.tar.bz2
gentoo-2-dcfbfa225a505ec5cd36d6c3cd2da1eb2a9db81b.zip
restored src_install() as it should have not been removed, fixes bug 184802, reported by John Altstadt <altstadt@telus.net>; fixed a typo in postinst; reordered KEYWORDS; relocated IUSE
(Portage version: 2.1.2.9)
Diffstat (limited to 'app-emacs/session')
-rw-r--r--app-emacs/session/ChangeLog7
-rw-r--r--app-emacs/session/session-2.2a.ebuild18
2 files changed, 17 insertions, 8 deletions
diff --git a/app-emacs/session/ChangeLog b/app-emacs/session/ChangeLog
index 66f7af257d6f..385677a1962d 100644
--- a/app-emacs/session/ChangeLog
+++ b/app-emacs/session/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emacs/session
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/session/ChangeLog,v 1.12 2007/07/03 06:33:18 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/session/ChangeLog,v 1.13 2007/07/10 06:28:03 opfer Exp $
+
+ 10 Jul 2007; Christian Faulhammer <opfer@gentoo.org> session-2.2a.ebuild:
+ restored src_install() as it should have not been removed, fixes bug 184802,
+ reported by John Altstadt <altstadt@telus.net>; fixed a typo in postinst;
+ reordered KEYWORDS; relocated IUSE
03 Jul 2007; Christian Faulhammer <opfer@gentoo.org> session-2.2a.ebuild:
removed src_install and postinst, as they are exactly like that in
diff --git a/app-emacs/session/session-2.2a.ebuild b/app-emacs/session/session-2.2a.ebuild
index 0fd57a3dcf47..32dcdb567293 100644
--- a/app-emacs/session/session-2.2a.ebuild
+++ b/app-emacs/session/session-2.2a.ebuild
@@ -1,30 +1,34 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/session/session-2.2a.ebuild,v 1.10 2007/07/03 06:33:18 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/session/session-2.2a.ebuild,v 1.11 2007/07/10 06:28:03 opfer Exp $
inherit elisp
-IUSE=""
-
DESCRIPTION="When you start Emacs, Session restores various variables from your last session."
HOMEPAGE="http://emacs-session.sourceforge.net/index.html"
SRC_URI="mirror://sourceforge/emacs-session/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 amd64 ppc"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
S="${WORKDIR}/${PN}"
SITEFILE=50${PN}-gentoo.el
-DOCS="INSTALL README lisp/ChangeLog"
src_compile() {
cd lisp
- elisp-compile session.el || die
+ elisp-compile session.el || die "elisp-compile failed"
+}
+
+src_install() {
+ elisp-install ${PN} lisp/*.el lisp/*.elc
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc INSTALL README lisp/ChangeLog
}
pkg_postinst() {
elisp-site-regen
- elog "Add the folloing to your ~/.emacs to use session:"
+ elog "Add the following to your ~/.emacs to use session:"
elog " (require 'session)"
elog " (add-hook 'after-init-hook 'session-initialize)"
}