blob: b1b4ad13aafe10e9eccf92ae7ee7cd469d0fe46d (
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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/lua-mode/lua-mode-1.26.ebuild,v 1.4 2005/01/01 13:52:39 eradicator Exp $
inherit elisp
DESCRIPTION="An Emacs major mode for editing Lua scripts"
HOMEPAGE="http://lua-users.org/wiki/LuaEditorSupport"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="virtual/emacs"
SITEFILE="70${PN}-gentoo.el"
src_unpack() {
elisp_src_unpack
# Fix it so that it can be byte compiled. Apparently, it
# wasn't tested with the byte compiler.
local sed_expr='s/eval-when-compile/progn/g'
cp "${S}/lua-mode.el" "${T}"
sed -e "${sed_expr}" "${T}/lua-mode.el" > "${S}/lua-mode.el"
}
|