import matlab-mode-2.3.

This is a major mode for editing Matlab source code under GNU Emacs or
XEmacs.
This commit is contained in:
dmcmahill 2003-02-14 01:32:43 +00:00
parent 4471008be2
commit b0015f2399
5 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,2 @@
This is a major mode for editing Matlab source code under GNU Emacs or
XEmacs.

View file

@ -0,0 +1,11 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2003/02/14 01:32:43 dmcmahill Exp $
You will need to add something like the following to your .emacs.el (or
default.el) file to autoload Matlab mode for Emacs.
(setq auto-mode-alist (cons '("\\.m\\'" . matlab-mode) auto-mode-alist))
(autoload 'matlab-mode "matlab" "Enter MATLAB mode." t)
(autoload 'matlab-shell "matlab" "Interactive MATLAB mode." t)
===========================================================================

View file

@ -0,0 +1,39 @@
# $NetBSD: Makefile,v 1.1.1.1 2003/02/14 01:32:43 dmcmahill Exp $
#
DISTNAME= matlab.el
PKGNAME= matlab-mode-2.3
CATEGORIES= editors math
MASTER_SITES= http://www.mathworks.com/matlabcentral/files/104/
EXTRACT_SUFX=
MAINTAINER= dmcmahill@netbsd.org
HOMEPAGE= http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=104&objectType=file
COMMENT= Matlab mode for Emacs
WRKSRC= ${WRKDIR}
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKDIR}
DIST_SUBDIR= ${PKGNAME}
.include "../../mk/emacs.mk"
.if ${EMACS_FLAVOR} == "emacs"
EMACS= emacs
.else
EMACS= xemacs
.endif
SRCS= matlab.el
do-build:
for f in ${SRCS}; do \
${EMACS} --no-init-file --no-site-file -batch \
-f batch-byte-compile ${WRKSRC}/$$f; \
done
do-install:
${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/${PKGBASE}
cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} ${EMACS_LISPPREFIX}/${PKGBASE}
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2003/02/14 01:32:43 dmcmahill Exp $
${EMACS_LISPPREFIX}/matlab-mode/matlab.el
${EMACS_LISPPREFIX}/matlab-mode/matlab.elc
@dirrm ${EMACS_LISPPREFIX}/matlab-mode

View file

@ -0,0 +1,4 @@
$NetBSD: distinfo,v 1.1.1.1 2003/02/14 01:32:43 dmcmahill Exp $
SHA1 (matlab-mode-2.3/matlab.el) = f0bc5f62292798ccd7f6a92ca04ddab11e79cfe4
Size (matlab-mode-2.3/matlab.el) = 219424 bytes