blob: 426a56c6b412bf30655a0c3822ea813b13346163 (
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
35
36
37
38
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/table/table-1.5.54-r2.ebuild,v 1.3 2007/09/26 12:30:13 angelos Exp $
inherit elisp versionator
DESCRIPTION="Table editor for Emacs"
HOMEPAGE="http://table.sourceforge.net/"
SRC_URI="mirror://sourceforge/table/${P}.el.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~sparc ~x86"
IUSE=""
SIMPLE_ELISP=t
src_compile() {
elisp-compile *.el || die "elisp-compile failed"
elisp-make-autoload-file || die "elisp-make-autoload-file failed"
}
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
}
|