![]() ![]() | ![]() |
File: [cvs.NetBSD.org] / pkgsrc / inputmethod / fcitx5-mozc / Makefile (download)
Revision 1.14, Sun Jan 29 21:16:53 2023 UTC (3 months, 4 weeks ago) by ryoon
*: Recursive revbup from graphics/freetype2 |
# $NetBSD: Makefile,v 1.14 2023/01/29 21:16:53 ryoon Exp $ PKGNAME= ${DISTNAME:S/fcitx-/fcitx5-/} PKGREVISION= 13 INSTALLATION_DIRS+= lib/fcitx5 INSTALLATION_DIRS+= share/fcitx5/addon INSTALLATION_DIRS+= share/fcitx5/inputmethod .for lang in ca da de he ja ko ru zh_CN zh_TW INSTALLATION_DIRS+= share/locale/${lang}/LC_MESSAGES .endfor INSTALLATION_DIRS+= share/metainfo .for size in 128x128 32x32 48x48 INSTALLATION_DIRS+= share/icons/hicolor/${size}/apps .endfor USE_TOOLS+= bash DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils DEPENDS+= mozc-server-[0-9]*:../../inputmethod/mozc-server DEPENDS+= mozc-tool-[0-9]*:../../inputmethod/mozc-tool pre-configure: # Do not fail by fcitx4 is not found. ${RM} ${WRKSRC}/unix/fcitx/fcitx.gyp do-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${PYTHONBIN} build_mozc.py build -c ${MOZC_BUILD_MODE} \ unix/fcitx5/fcitx5.gyp:fcitx5-mozc do-install: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} \ OSDEST=${OSDEST} _bldtype=${MOZC_BUILD_MODE} \ ${BASH} ../scripts/install_fcitx5 .include "../../inputmethod/fcitx5/buildlink3.mk" .include "../../inputmethod/fcitx5-mozc/Makefile.common" .include "../../graphics/hicolor-icon-theme/buildlink3.mk"