blob: 8d39e0eee96c102c66b747507b3c4a287c25ac37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ibuffer/ibuffer-2.6.1-r1.ebuild,v 1.3 2007/11/09 19:10:44 nixnut Exp $
inherit elisp versionator
DESCRIPTION="Operate on buffers like dired"
HOMEPAGE="http://www.shootybangbang.com/"
# taken from http://www.shootybangbang.com/software/ibuffer.el
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
SITEFILE=51${PN}-gentoo.el
src_install() {
elisp_src_install
# prevent inclusion of package dir by subdirs.el
touch "${D}${SITELISP}/${PN}/.nosearch"
}
pkg_postinst() {
elisp-site-regen
if version_is_at_least 22 "$(elisp-emacs-version)"; then
echo
elog "Please note that \"${PN}\" is already included with Emacs 22 or"
elog "later, so ${CATEGORY}/${PN} is only needed for lower versions."
elog "You may select the active Emacs version with \"eselect emacs\"."
fi
}
|