2018-11-14 23:20:58 +01:00
|
|
|
# $NetBSD: Makefile,v 1.27 2018/11/14 22:21:51 kleink Exp $
|
2014-01-20 11:35:43 +01:00
|
|
|
|
|
|
|
PKGNAME= ${DISTNAME:S/mozc-/mozc-renderer-/}
|
2018-11-14 23:20:58 +01:00
|
|
|
PKGREVISION= 10
|
2014-01-20 11:35:43 +01:00
|
|
|
|
|
|
|
CONFLICTS+= ibus-mozc<=1.13.1651.102
|
|
|
|
|
|
|
|
INSTALLATION_DIRS+= libexec share/icons
|
|
|
|
|
|
|
|
DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils
|
|
|
|
DEPENDS+= mozc-server-[0-9]*:../../inputmethod/mozc-server
|
|
|
|
|
|
|
|
do-build:
|
2014-08-07 05:03:32 +02:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
2016-05-16 13:51:49 +02:00
|
|
|
${PYTHONBIN} build_mozc.py build -c ${MOZC_BUILD_MODE} \
|
2014-01-20 11:35:43 +01:00
|
|
|
renderer/renderer.gyp:mozc_renderer
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/out_${OSDEST}/${MOZC_BUILD_MODE}/mozc_renderer \
|
|
|
|
${DESTDIR}${PREFIX}/libexec
|
|
|
|
.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
|
|
|
|
|
|
|
|
.include "../../inputmethod/mozc-server/Makefile.common"
|