5 # we do this because we want DIST_SUBDIR to not change based on
7 BASEPKGNAME= matlab-mode-2.3.1
8 PKGNAME= ${EMACS_PKGNAME_PREFIX}${BASEPKGNAME}
10 CATEGORIES= editors math
11 MASTER_SITES= http://www.mathworks.com/matlabcentral/files/104/
14 MAINTAINER= dmcmahill@NetBSD.org
15 HOMEPAGE= http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=104&objectType=file
16 COMMENT= Matlab mode for Emacs
18 PKG_DESTDIR_SUPPORT= user-destdir
21 DIST_SUBDIR= ${BASEPKGNAME}
23 .include "../../editors/emacs/modules.mk"
25 .if ${EMACS_FLAVOR} == "emacs"
34 for f in ${SRCS}; do \
35 ${EMACS} --no-init-file --no-site-file -batch \
36 -f batch-byte-compile ${WRKSRC}/$$f; \
40 ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/${PKGBASE:C|^xemacs-||}
41 cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} ${DESTDIR}${EMACS_LISPPREFIX}/${PKGBASE}
43 .include "../../mk/bsd.pkg.mk"