diff options
author | Volker Stolz <vs@FreeBSD.org> | 2004-03-11 21:05:44 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2004-03-11 21:05:44 +0000 |
commit | 50b8a6595866659c4143bbeadd4e07ee1e2bae83 (patch) | |
tree | db3065d1df0d1c620e35cf8225508734d6059cf3 /lang/lua-mode.el | |
parent | da1fb8e6c221aa3a681315cac5adf6a163a46a85 (diff) | |
download | ports-50b8a6595866659c4143bbeadd4e07ee1e2bae83.tar.gz ports-50b8a6595866659c4143bbeadd4e07ee1e2bae83.zip |
Notes
Diffstat (limited to 'lang/lua-mode.el')
-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 |
4 files changed, 46 insertions, 0 deletions
diff --git a/lang/lua-mode.el/Makefile b/lang/lua-mode.el/Makefile new file mode 100644 index 000000000000..4b7dca7d99a9 --- /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 000000000000..916707180299 --- /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 000000000000..f6c739009dc0 --- /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 000000000000..dfa2e1ec7476 --- /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)) |