aboutsummaryrefslogtreecommitdiffstats
path: root/lang/lua-mode.el
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-11-09 18:06:15 +0800
committermarino <marino@FreeBSD.org>2014-11-09 18:06:15 +0800
commit4d1ef65bfb0e5a088f2102c3364e85b82ab56d6a (patch)
tree400acad6dac494e8ebc562b18290fa0e93037c05 /lang/lua-mode.el
parentc6469bfb211e4c63ea0bd4ff6a6f0d56413218fb (diff)
downloadfreebsd-ports-gnome-4d1ef65bfb0e5a088f2102c3364e85b82ab56d6a.tar.gz
freebsd-ports-gnome-4d1ef65bfb0e5a088f2102c3364e85b82ab56d6a.tar.zst
freebsd-ports-gnome-4d1ef65bfb0e5a088f2102c3364e85b82ab56d6a.zip
lang/lua-mode.el: Remove reference to obsolete last-command-char
While here, clean up the port and remove @dirrm* lines PR: 194363 Submitted by: Christopher Hall
Diffstat (limited to 'lang/lua-mode.el')
-rw-r--r--lang/lua-mode.el/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/lua-mode.el/Makefile b/lang/lua-mode.el/Makefile
index a7b5221090ed..5cc0f891ca80 100644
--- a/lang/lua-mode.el/Makefile
+++ b/lang/lua-mode.el/Makefile
@@ -3,7 +3,7 @@
PORTNAME= lua-mode.el
PORTVERSION= 1.26
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang elisp
MASTER_SITES= http://lua-users.org/files/wiki_insecure/editors/
DISTNAME= lua-mode.el
@@ -19,14 +19,14 @@ 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_DIRSTRY= lib/xemacs/site-lisp lib/xemacs
+PLIST_FILES= share/emacs/site-lisp/lua-mode.el \
+ lib/xemacs/site-lisp/lua-mode.el
do-install:
- @${MKDIR} ${STAGEDIR}${EMACSLISPDIR}
- @${MKDIR} ${STAGEDIR}${XEMACSLISPDIR}
+ @${MKDIR} ${STAGEDIR}${EMACSLISPDIR} ${STAGEDIR}${XEMACSLISPDIR}
${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} \
${STAGEDIR}${EMACSLISPDIR}/lua-mode.el
+ ${SED} -i '' -e 's/last-command-char/last-command-event/g' ${STAGEDIR}${EMACSLISPDIR}/lua-mode.el
${LN} -sf ${EMACSLISPDIR}/lua-mode.el ${STAGEDIR}${XEMACSLISPDIR}
.include <bsd.port.mk>