23 lines
623 B
Makefile
23 lines
623 B
Makefile
# $NetBSD: Makefile,v 1.73 2022/04/24 22:19:15 tnn Exp $
|
|
|
|
PKGNAME= ${DISTNAME:S/mozc-/mozc-server-/}
|
|
PKGREVISION= 9
|
|
|
|
INSTALLATION_DIRS+= libexec
|
|
|
|
pre-configure:
|
|
${RM} ${WRKSRC}/unix/uim/uim.gyp
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
|
${PYTHONBIN} build_mozc.py build \
|
|
-c ${MOZC_BUILD_MODE} \
|
|
dictionary/dictionary_base.gyp:text_dictionary_loader \
|
|
server/server.gyp:mozc_server
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/out_${OSDEST}/${MOZC_BUILD_MODE}/mozc_server \
|
|
${DESTDIR}${PREFIX}/libexec/mozc_server
|
|
|
|
.include "../../inputmethod/mozc-server/Makefile.common"
|
|
.include "../../mk/bsd.pkg.mk"
|