[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / inputmethod / fcitx5-mozc

Annotation of pkgsrc/inputmethod/fcitx5-mozc/Makefile, Revision 1.13

1.13    ! wiz         1: # $NetBSD: Makefile,v 1.12 2022/11/23 16:20:27 adam Exp $
1.1       ryoon       2:
                      3: PKGNAME=       ${DISTNAME:S/fcitx-/fcitx5-/}
1.13    ! wiz         4: PKGREVISION=   12
1.1       ryoon       5:
                      6: INSTALLATION_DIRS+=    lib/fcitx5
                      7: INSTALLATION_DIRS+=    share/fcitx5/addon
                      8: INSTALLATION_DIRS+=    share/fcitx5/inputmethod
                      9: .for lang in ca da de he ja ko ru zh_CN zh_TW
                     10: INSTALLATION_DIRS+=    share/locale/${lang}/LC_MESSAGES
                     11: .endfor
                     12: INSTALLATION_DIRS+=    share/metainfo
                     13: .for size in 128x128 32x32 48x48
                     14: INSTALLATION_DIRS+=    share/icons/hicolor/${size}/apps
                     15: .endfor
                     16:
                     17: USE_TOOLS+=    bash
                     18:
                     19: DEPENDS+=      xdg-utils-[0-9]*:../../misc/xdg-utils
                     20: DEPENDS+=      mozc-server-[0-9]*:../../inputmethod/mozc-server
                     21: DEPENDS+=      mozc-tool-[0-9]*:../../inputmethod/mozc-tool
                     22:
                     23: pre-configure:
                     24:        # Do not fail by fcitx4 is not found.
                     25:        ${RM} ${WRKSRC}/unix/fcitx/fcitx.gyp
                     26:
                     27: do-build:
                     28:        cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
                     29:                ${PYTHONBIN} build_mozc.py build -c ${MOZC_BUILD_MODE} \
                     30:                        unix/fcitx5/fcitx5.gyp:fcitx5-mozc
                     31:
                     32: do-install:
                     33:        cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} \
                     34:                OSDEST=${OSDEST} _bldtype=${MOZC_BUILD_MODE} \
                     35:                ${BASH} ../scripts/install_fcitx5
                     36:
                     37: .include "../../inputmethod/fcitx5/buildlink3.mk"
                     38: .include "../../inputmethod/fcitx5-mozc/Makefile.common"
                     39: .include "../../graphics/hicolor-icon-theme/buildlink3.mk"

CVSweb <webmaster@jp.NetBSD.org>