diff options
-rw-r--r-- | app-emacs/lua-mode/Manifest | 5 | ||||
-rw-r--r-- | app-emacs/lua-mode/files/70lua-mode-gentoo.el | 9 | ||||
-rw-r--r-- | app-emacs/lua-mode/files/digest-lua-mode-1.26 | 1 | ||||
-rw-r--r-- | app-emacs/lua-mode/lua-mode-1.26.ebuild | 25 |
4 files changed, 38 insertions, 2 deletions
diff --git a/app-emacs/lua-mode/Manifest b/app-emacs/lua-mode/Manifest index a259764d78d4..450b5ccf7d59 100644 --- a/app-emacs/lua-mode/Manifest +++ b/app-emacs/lua-mode/Manifest @@ -1,3 +1,4 @@ -MD5 125ee013081b112d56a1d15507d72ef2 ChangeLog 3674 -MD5 544c51b9ac6b95db847b9cd89e888f69 lua-mode-1.26.ebuild 688 +MD5 592ea015bfabb2aaa0e346f1d48e3f43 ChangeLog 384 +MD5 2fabc6129ebc741b1fbcba8e90eceabe lua-mode-1.26.ebuild 774 MD5 08f5bc31d5db2fbb018155ce81a18812 files/digest-lua-mode-1.26 64 +MD5 5f162ad79174f8ec9eb51309facbf431 files/70lua-mode-gentoo.el 282 diff --git a/app-emacs/lua-mode/files/70lua-mode-gentoo.el b/app-emacs/lua-mode/files/70lua-mode-gentoo.el new file mode 100644 index 000000000000..8f308219662c --- /dev/null +++ b/app-emacs/lua-mode/files/70lua-mode-gentoo.el @@ -0,0 +1,9 @@ + +;;; lua-mode site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(autoload 'lua-mode "lua-mode" "Mode for editing Lua scripts" t) +(setq auto-mode-alist + (append '(("\\.lua$" . lua-mode)) + auto-mode-alist)) +(setq lua-default-application "/usr/bin/lua") diff --git a/app-emacs/lua-mode/files/digest-lua-mode-1.26 b/app-emacs/lua-mode/files/digest-lua-mode-1.26 new file mode 100644 index 000000000000..9d7416d6a8a3 --- /dev/null +++ b/app-emacs/lua-mode/files/digest-lua-mode-1.26 @@ -0,0 +1 @@ +MD5 1ec31e2fbe8d42863501bfa9a0cb6c0b lua-mode-1.26.tar.gz 10159 diff --git a/app-emacs/lua-mode/lua-mode-1.26.ebuild b/app-emacs/lua-mode/lua-mode-1.26.ebuild new file mode 100644 index 000000000000..1d52e8a34354 --- /dev/null +++ b/app-emacs/lua-mode/lua-mode-1.26.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# 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.1 2003/10/06 06:53:49 mkennedy 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" +} |