diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2003-02-14 01:32:43 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2003-02-14 01:32:43 +0000 |
commit | b0015f2399465ea46d0726ffd25be0f598765c8b (patch) | |
tree | dff5b7ed03232f787f427ae738cfcc749019c88c /editors/matlab-mode/Makefile | |
parent | 4471008be22501fc8a9d8b498d8afb517ba639fe (diff) | |
download | pkgsrc-b0015f2399465ea46d0726ffd25be0f598765c8b.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" |