freebsd-ports/lang/lua-mode.el/Makefile
John Marino 670cc23373 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
2014-11-09 10:06:15 +00:00

32 lines
921 B
Makefile

# Created by: Josh Elsasser <jre@vineyard.net>
# $FreeBSD$
PORTNAME= lua-mode.el
PORTVERSION= 1.26
PORTREVISION= 2
CATEGORIES= lang elisp
MASTER_SITES= http://lua-users.org/files/wiki_insecure/editors/
DISTNAME= lua-mode.el
EXTRACT_SUFX= # empty
EXTRACT_ONLY= # empty
MAINTAINER= ports@FreeBSD.org
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
do-install:
@${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>