Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Mar 2004 12:38:27 -0500
From:      "Josh Elsasser" <jre@vineyard.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/63770: New port: lang/lua-mode.el - an emacs/xemacs major mode for editing lua scripts
Message-ID:  <1078421907.0@jade.elsasser.org>
Resent-Message-ID: <200403041740.i24He4Q7030512@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63770
>Category:       ports
>Synopsis:       New port: lang/lua-mode.el - an emacs/xemacs major mode for editing lua scripts
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 04 09:40:04 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Josh Elsasser
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 5.2-CURRENT #11: Sat Feb  7 15:09:05 EST 2004
    joshe@jade.elsasser.org:/usr/local/obj/usr/src/sys/JADE



>Description:





>How-To-Repeat:





>Fix:


--- lua-mode.el.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	lua-mode.el
#	lua-mode.el/Makefile
#	lua-mode.el/distinfo
#	lua-mode.el/pkg-descr
#	lua-mode.el/pkg-message
#	lua-mode.el/pkg-plist
#
echo c - lua-mode.el
mkdir -p lua-mode.el > /dev/null 2>&1
echo x - lua-mode.el/Makefile
sed 's/^X//' >lua-mode.el/Makefile << 'END-of-lua-mode.el/Makefile'
X# New ports collection makefile for:	lua-mode.el
X# Date created:				4 March 2004
X# Whom:					Josh Elsasser <jre@vineyard.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	lua-mode.el
XPORTVERSION=	1.26
XCATEGORIES=	lang elisp
XMASTER_SITES=	http://lua-users.org/files/wiki_insecure/editors/
XDISTNAME=	lua-mode.el
XEXTRACT_SUFX=	# empty
XEXTRACT_ONLY=	# empty
X
XMAINTAINER=	jre@vineyard.net
XCOMMENT=	Emacs/XEmacs major mode for editing Lua scripts
X
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
X
XEMACSLISPDIR=	${PREFIX}/share/emacs/site-lisp
XXEMACSLISPDIR=	${PREFIX}/lib/xemacs/site-lisp
X
Xdo-install:
X	${MKDIR} ${EMACSLISPDIR}
X	${MKDIR} ${XEMACSLISPDIR}
X	${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${EMACSLISPDIR}/lua-mode.el
X	${LN} -sf ${EMACSLISPDIR}/lua-mode.el ${XEMACSLISPDIR}
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-lua-mode.el/Makefile
echo x - lua-mode.el/distinfo
sed 's/^X//' >lua-mode.el/distinfo << 'END-of-lua-mode.el/distinfo'
XMD5 (lua-mode.el) = 1e590c5c8f1b65e936ef02cec8cfc102
XSIZE (lua-mode.el) = 35986
END-of-lua-mode.el/distinfo
echo x - lua-mode.el/pkg-descr
sed 's/^X//' >lua-mode.el/pkg-descr << 'END-of-lua-mode.el/pkg-descr'
XEmacs/XEmacs major mode for editing Lua scripts.  Includes syntax
Xhighlighting, auto-indent, interactive lua shell, paren and brace
Xmatching, auto-move to function or block begin/end.
END-of-lua-mode.el/pkg-descr
echo x - lua-mode.el/pkg-message
sed 's/^X//' >lua-mode.el/pkg-message << 'END-of-lua-mode.el/pkg-message'
XTo use lua-mode in Emacs/XEmacs, add the following lines to your ~/.emacs:
X
X(autoload 'lua-mode "lua-mode" "Mode for editing Lua source files")
X(add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
END-of-lua-mode.el/pkg-message
echo x - lua-mode.el/pkg-plist
sed 's/^X//' >lua-mode.el/pkg-plist << 'END-of-lua-mode.el/pkg-plist'
Xshare/emacs/site-lisp/lua-mode.el
X@exec mkdir -p %D/lib/xemacs/site-lisp
X@exec ln -sf %D/%F %D/lib/xemacs/site-lisp/lua-mode.el
X@unexec rm %D/lib/xemacs/site-lisp/lua-mode.el
X@dirrm lib/xemacs/site-lisp
X@dirrm lib/xemacs
END-of-lua-mode.el/pkg-plist
exit

--- lua-mode.el.shar ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1078421907.0>