blob: 06dea42e23bcffe6e4a96097f0d6155f870efcce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.5 2011/10/09 10:02:47 cheusov Exp $
#
DISTNAME= lua-mode-20110121
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
EXTRACT_SUFX= .zip
CATEGORIES= devel
MASTER_SITES= http://luaforge.net/frs/download.php/4792/
MAINTAINER= cheusov@NetBSD.org
HOMEPAGE= http://luaforge.net/projects/lua-mode/
COMMENT= Emacs major mode for editing Lua code
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
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"
|