New Port: lang/lua-mode.el

Emacs/XEmacs major mode for editing Lua scripts.

PR:		ports/63770
Submitted by:	John Elsasser
Approved by:	linimon (mentor)
This commit is contained in:
Volker Stolz 2004-03-11 21:05:44 +00:00
parent da1fb8e6c2
commit 50b8a65958
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103683
5 changed files with 47 additions and 0 deletions

View file

@ -114,6 +114,7 @@
SUBDIR += linux-j
SUBDIR += logo
SUBDIR += lua
SUBDIR += lua-mode.el
SUBDIR += lua4
SUBDIR += lush
SUBDIR += m3gdb

37
lang/lua-mode.el/Makefile Normal file
View file

@ -0,0 +1,37 @@
# New ports collection makefile for: lua-mode.el
# Date created: 4 March 2004
# Whom: Josh Elsasser <jre@vineyard.net>
#
# $FreeBSD$
#
PORTNAME= lua-mode.el
PORTVERSION= 1.26
CATEGORIES= lang elisp
MASTER_SITES= http://lua-users.org/files/wiki_insecure/editors/
DISTNAME= lua-mode.el
EXTRACT_SUFX= # empty
EXTRACT_ONLY= # empty
MAINTAINER= jre@vineyard.net
COMMENT= Emacs/XEmacs major mode for editing Lua scripts
NO_BUILD= yes
NO_WRKSUBDIR= yes
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
PLIST_FILES= share/emacs/site-lisp/lua-mode.el lib/xemacs/site-lisp/lua-mode.el
PLIST_DIRS= lib/xemacs/site-lisp lib/xemacs
do-install:
${MKDIR} ${EMACSLISPDIR}
${MKDIR} ${XEMACSLISPDIR}
${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${EMACSLISPDIR}/lua-mode.el
${LN} -sf ${EMACSLISPDIR}/lua-mode.el ${XEMACSLISPDIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
MD5 (lua-mode.el) = 1e590c5c8f1b65e936ef02cec8cfc102
SIZE (lua-mode.el) = 35986

View file

@ -0,0 +1,3 @@
Emacs/XEmacs major mode for editing Lua scripts. Includes syntax
highlighting, auto-indent, interactive lua shell, paren and brace
matching, auto-move to function or block begin/end.

View file

@ -0,0 +1,4 @@
To use lua-mode in Emacs/XEmacs, add the following lines to your ~/.emacs:
(autoload 'lua-mode "lua-mode" "Mode for editing Lua source files")
(add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))