blob: 8e4b5e603604a0aa1549cae0dedc2aa67f60b190 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.9 2013/10/10 14:42:18 ryoon Exp $
#
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME:S/mozc-/mozc-elisp-/}
PKGREVISION= 1
CATEGORIES= inputmethod editors
EMACS_MODULES= base leim
.include "../../editors/emacs/modules.mk"
INSTALLATION_DIRS= ${EMACS_LISPPREFIX} bin
do-build:
cd ${WRKSRC} && env ${MAKE_ENV} \
${PYTHONBIN} build_mozc.py build -c Release ${_MAKE_JOBS} \
unix/emacs/emacs.gyp:mozc_emacs_helper
cd ${WRKSRC}/unix/emacs && \
${EMACS_BIN} -q -batch -no-site-file -no-init-file \
-f batch-byte-compile mozc.el
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/out_${OSDEST}/Release/mozc_emacs_helper \
${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/unix/emacs/mozc.el \
${DESTDIR}${EMACS_LISPPREFIX}
${INSTALL_DATA} ${WRKSRC}/unix/emacs/mozc.elc \
${DESTDIR}${EMACS_LISPPREFIX}
.include "../../inputmethod/mozc-server/Makefile.common"
|