blob: 837d224977992f79829065b368e4cfe543780aad (
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
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit xemacs-elisp
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~hppa x86"
RDEPEND=">=app-editors/xemacs-21.4.20-r5
app-xemacs/sh-script"
DEPEND="${RDEPEND}"
src_compile() {
${XEMACS_BATCH_CLEAN} -eval "(add-to-list 'load-path \".\")" \
-f batch-byte-compile ebuild-mode.el gentoo-newsitem-mode.el || die
xemacs-elisp-make-autoload-file \
ebuild-mode.el gentoo-newsitem-mode.el || die
}
|