pkgsrc/editors/javascript-mode/Makefile
abs 62c353f3e9 Added editors/javascript-mode version 2.2.1 - addresses PR pkg/35669
Emacs major mode for Javascript programming language.

The main features of this JavaScript mode are syntactic highlighting
(enabled with `font-lock-mode' or `global-font-lock-mode'), automatic
indentation and filling of comments.
2009-12-30 12:05:37 +00:00

38 lines
801 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2009/12/30 12:05:37 abs Exp $
DISTNAME= javascript-2.2.1
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME:S/-/-mode-/}
CATEGORIES= devel editors
MASTER_SITES= #
DISTFILES= #
MAINTAINER= vle@gmx.net
HOMEPAGE= http://www.brgeight.se/
COMMENT= Javascript major mode for Emacs
PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= ${EMACS_LISPPREFIX}
NO_CONFIGURE= yes
LICENSE= gnu-gpl-v2
SRC= javascript.el
WRKSRC= ${WRKDIR}
do-build:
set -e; \
cd ${WRKDIR}; cp ${.CURDIR}/files/${SRC} .; \
${EMACS_BIN} --no-init-file --no-site-file -batch \
-f batch-byte-compile ${SRC}
do-install:
set -e; \
cd ${WRKDIR}; \
${INSTALL_DATA} ${SRC} ${SRC:.el=.elc} \
${DESTDIR}${EMACS_LISPPREFIX}
.include "../../editors/emacs/modules.mk"
.include "../../mk/bsd.pkg.mk"