blob: e1fd16b25c4d596b4362b75693e2e524f86a5be3 (
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
|
# $NetBSD: Makefile,v 1.1.1.1 2008/04/12 13:57:19 wiz Exp $
#
DISTNAME= js2-20080406
CATEGORIES= devel
MASTER_SITES= http://js2-mode.googlecode.com/files/
EXTRACT_SUFX= .el
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://code.google.com/p/js2-mode/
COMMENT= Improved JavaScript mode for GNU Emacs
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
USE_LANGUAGES= # none
MESSAGE_SUBST+= LISPDIR=${EMACS_LISPPREFIX:Q}
# no xemacs at all; emacs21 doesn't support full functionality
EMACS_VERSIONS_ACCEPTED= emacs22 emacs22nox
do-build:
cd ${WRKSRC} && ${EMACS_BIN} -batch -f batch-byte-compile ${DISTNAME}.el
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.el ${DESTDIR}${EMACS_LISPPREFIX}/js2.el
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.elc ${DESTDIR}${EMACS_LISPPREFIX}/js2.elc
.include "../../mk/emacs.mk"
.include "../../mk/bsd.pkg.mk"
|