summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-mozc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'inputmethod/ibus-mozc/Makefile')
-rw-r--r--inputmethod/ibus-mozc/Makefile19
1 files changed, 6 insertions, 13 deletions
diff --git a/inputmethod/ibus-mozc/Makefile b/inputmethod/ibus-mozc/Makefile
index 8f144d25362..f5ed74afdfa 100644
--- a/inputmethod/ibus-mozc/Makefile
+++ b/inputmethod/ibus-mozc/Makefile
@@ -1,35 +1,28 @@
-# $NetBSD: Makefile,v 1.15 2014/01/19 01:18:50 ryoon Exp $
+# $NetBSD: Makefile,v 1.16 2014/01/20 10:40:36 ryoon Exp $
PKGNAME= ibus-${DISTNAME}
+PKGREVISION= 1
-INSTALLATION_DIRS+= libexec share/ibus share/icons share/ibus/component \
+INSTALLATION_DIRS+= libexec share/ibus share/ibus/component \
share/ibus-mozc
DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils
+DEPENDS+= mozc-renderer-[0-9]*:../../inputmethod/mozc-renderer
DEPENDS+= mozc-server-[0-9]*:../../inputmethod/mozc-server
DEPENDS+= mozc-tool-[0-9]*:../../inputmethod/mozc-tool
do-build:
cd ${WRKSRC} && env ${MAKE_ENV} \
${PYTHONBIN} build_mozc.py build -c ${MOZC_BUILD_MODE} ${_MAKE_JOBS} \
- unix/ibus/ibus.gyp:ibus_mozc \
- renderer/renderer.gyp:mozc_renderer
+ unix/ibus/ibus.gyp:ibus_mozc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/out_${OSDEST}/${MOZC_BUILD_MODE}/ibus_mozc \
${DESTDIR}${PREFIX}/libexec/ibus-engine-mozc
- ${INSTALL_PROGRAM} ${WRKSRC}/out_${OSDEST}/${MOZC_BUILD_MODE}/mozc_renderer \
- ${DESTDIR}${PREFIX}/libexec
${INSTALL_DATA} ${WRKSRC}/out_${OSDEST}/${MOZC_BUILD_MODE}/obj/gen/unix/ibus/mozc.xml \
${DESTDIR}${PREFIX}/share/ibus/component
-.for f in ui-alpha_full ui-alpha_half ui-dictionary ui-direct \
- ui-hiragana ui-katakana_full ui-katakana_half ui-properties ui-tool
- ${INSTALL_DATA} ${WRKSRC}/data/images/unix/${f}.png \
- ${DESTDIR}${PREFIX}/share/icons/${f:S/^ui-/mozc-/}.png
-.endfor
- ${INSTALL_DATA} ${WRKSRC}/data/images/product_icon_32bpp-128.png \
- ${DESTDIR}${PREFIX}/share/icons/mozc.png
${INSTALL_DATA} ${WRKSRC}/data/images/unix/ime_product_icon_opensource-32.png \
${DESTDIR}${PREFIX}/share/ibus-mozc/product_icon.png
+.include "../../inputmethod/ibus/buildlink3.mk"
.include "../../inputmethod/mozc-server/Makefile.common"