2edb8917f2
* highlight hash-bang line as comment * make lua-mode-hook editable via customize * fix several indentation bugs & quirks * fix lua-send-proc not to send previous function when point is at the beginning of a function * derive lua-mode from prog-mode for Emacs24 * add font-locking for builtins and numeric constants * fix a bug causing exponential complexity in a keyword matching regexp * add more unindentation cases for block-closing tokens * improve multiline highlighting via font-lock-syntactic-keywords This should make font-locking of multiline literals more fluent & stable. And it becomes customizable via standard font-lock configuration * properly fontify variable definitions in 'local ...' & 'for ...' Also, perform some basic syntax verification in those lines. Multi-line constructs not supported yet. * fix indentation for blocks starting on continued lines local foo = { bar, baz } ^ 1. these lines should be indented properly now ^ 2. the following lines should be unindented properly now * extend imenu-generic-expression Now it matches 'foo = function(...)' function definitions
34 lines
830 B
Makefile
34 lines
830 B
Makefile
# $NetBSD: Makefile,v 1.8 2013/07/29 20:35:00 wiz Exp $
|
|
|
|
DISTNAME= rel-${VERSION}
|
|
VERSION= 20130419
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}lua-mode-${VERSION}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://github.com/immerrr/lua-mode/archive/
|
|
|
|
MAINTAINER= cheusov@NetBSD.org
|
|
HOMEPAGE= https://github.com/immerrr/lua-mode/
|
|
COMMENT= Emacs major mode for editing Lua code
|
|
LICENSE= gnu-gpl-v2 # or newer
|
|
|
|
WRKSRC= ${WRKDIR}/lua-mode-rel-${VERSION}
|
|
|
|
USE_LANGUAGES= # none
|
|
NO_CONFIGURE= yes
|
|
|
|
INSTALLATION_DIRS= ${EMACS_LISPPREFIX}
|
|
|
|
EMACS_MODULES= base
|
|
|
|
.include "../../editors/emacs/modules.mk"
|
|
|
|
do-build:
|
|
${EMACS_BIN} --no-init-file --no-site-file -batch \
|
|
-f batch-byte-compile ${WRKSRC}/lua-mode.el
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && \
|
|
${INSTALL_DATA} lua-mode.el lua-mode.elc \
|
|
${DESTDIR}${EMACS_LISPPREFIX}/
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|