summaryrefslogtreecommitdiff
path: root/inputmethod/mozc-elisp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'inputmethod/mozc-elisp/Makefile')
-rw-r--r--inputmethod/mozc-elisp/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/inputmethod/mozc-elisp/Makefile b/inputmethod/mozc-elisp/Makefile
new file mode 100644
index 00000000000..e92676e615d
--- /dev/null
+++ b/inputmethod/mozc-elisp/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2013/03/13 15:07:38 ryoon Exp $
+#
+
+PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME:S/mozc-/mozc-elisp-/}
+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/ibus-mozc/Makefile.common"