diff options
author | vs <vs@FreeBSD.org> | 2004-03-11 21:05:44 +0000 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-03-11 21:05:44 +0000 |
commit | 2fc2ccf207eda87cbed42497410d4fdc671340e6 (patch) | |
tree | 4e9a089c4a50527b8dc02b28c256f53969909555 | |
parent | 3daa0f7d8c090bbde834869da34ff053465c82db (diff) | |
download | FreeBSD-ports-2fc2ccf207eda87cbed42497410d4fdc671340e6.zip FreeBSD-ports-2fc2ccf207eda87cbed42497410d4fdc671340e6.tar.gz |
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)
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/lua-mode.el/Makefile | 37 | ||||
-rw-r--r-- | lang/lua-mode.el/distinfo | 2 | ||||
-rw-r--r-- | lang/lua-mode.el/pkg-descr | 3 | ||||
-rw-r--r-- | lang/lua-mode.el/pkg-message | 4 |
5 files changed, 47 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index 8ab9410..c50da21 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -114,6 +114,7 @@ SUBDIR += linux-j SUBDIR += logo SUBDIR += lua + SUBDIR += lua-mode.el SUBDIR += lua4 SUBDIR += lush SUBDIR += m3gdb diff --git a/lang/lua-mode.el/Makefile b/lang/lua-mode.el/Makefile new file mode 100644 index 0000000..4b7dca7 --- /dev/null +++ b/lang/lua-mode.el/Makefile @@ -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> diff --git a/lang/lua-mode.el/distinfo b/lang/lua-mode.el/distinfo new file mode 100644 index 0000000..9167071 --- /dev/null +++ b/lang/lua-mode.el/distinfo @@ -0,0 +1,2 @@ +MD5 (lua-mode.el) = 1e590c5c8f1b65e936ef02cec8cfc102 +SIZE (lua-mode.el) = 35986 diff --git a/lang/lua-mode.el/pkg-descr b/lang/lua-mode.el/pkg-descr new file mode 100644 index 0000000..f6c7390 --- /dev/null +++ b/lang/lua-mode.el/pkg-descr @@ -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. diff --git a/lang/lua-mode.el/pkg-message b/lang/lua-mode.el/pkg-message new file mode 100644 index 0000000..dfa2e1e --- /dev/null +++ b/lang/lua-mode.el/pkg-message @@ -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)) |