diff options
-rw-r--r-- | app-emacs/session/ChangeLog | 6 | ||||
-rw-r--r-- | app-emacs/session/session-2.2a.ebuild | 16 |
2 files changed, 8 insertions, 14 deletions
diff --git a/app-emacs/session/ChangeLog b/app-emacs/session/ChangeLog index eba3e5271dbd..66f7af257d6f 100644 --- a/app-emacs/session/ChangeLog +++ b/app-emacs/session/ChangeLog @@ -1,6 +1,10 @@ # 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.11 2007/03/08 09:39:48 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/session/ChangeLog,v 1.12 2007/07/03 06:33:18 opfer Exp $ + + 03 Jul 2007; Christian Faulhammer <opfer@gentoo.org> session-2.2a.ebuild: + removed src_install and postinst, as they are exactly like that in + elisp.eclass (make use of DOCS variable) 08 Mar 2007; Christian Faulhammer <opfer@gentoo.org> files/50session-gentoo.el: diff --git a/app-emacs/session/session-2.2a.ebuild b/app-emacs/session/session-2.2a.ebuild index b1af6561c77e..0fd57a3dcf47 100644 --- a/app-emacs/session/session-2.2a.ebuild +++ b/app-emacs/session/session-2.2a.ebuild @@ -1,6 +1,6 @@ # 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.9 2007/01/28 04:28:38 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/session/session-2.2a.ebuild,v 1.10 2007/07/03 06:33:18 opfer Exp $ inherit elisp @@ -13,28 +13,18 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 amd64 ppc" -DEPEND="virtual/emacs" - S="${WORKDIR}/${PN}" +SITEFILE=50${PN}-gentoo.el +DOCS="INSTALL README lisp/ChangeLog" src_compile() { cd lisp elisp-compile session.el || die } -src_install() { - elisp-install ${PN} lisp/*.el lisp/*.elc - elisp-site-file-install ${FILESDIR}/50session-gentoo.el - dodoc INSTALL README lisp/ChangeLog -} - pkg_postinst() { elisp-site-regen elog "Add the folloing to your ~/.emacs to use session:" elog " (require 'session)" elog " (add-hook 'after-init-hook 'session-initialize)" } - -pkg_postrm() { - elisp-site-regen -} |