diff options
author | dmcmahill <dmcmahill> | 2003-02-14 01:32:43 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2003-02-14 01:32:43 +0000 |
commit | 223b03c067329cd3fe4cfef26e502805c30624eb (patch) | |
tree | dff5b7ed03232f787f427ae738cfcc749019c88c /editors/matlab-mode/Makefile | |
parent | 249a60050cb4bb7d0a5336778928fe56732055ac (diff) | |
download | pkgsrc-223b03c067329cd3fe4cfef26e502805c30624eb.tar.gz |
import matlab-mode-2.3.
This is a major mode for editing Matlab source code under GNU Emacs or
XEmacs.
Diffstat (limited to 'editors/matlab-mode/Makefile')
-rw-r--r-- | editors/matlab-mode/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/editors/matlab-mode/Makefile b/editors/matlab-mode/Makefile new file mode 100644 index 00000000000..1043bcde5e7 --- /dev/null +++ b/editors/matlab-mode/Makefile @@ -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" |