Lines 15-28
Link Here
|
15 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
16 |
|
16 |
|
17 |
BUILD_DEPENDS= ninja:${PORTSDIR}/devel/ninja \ |
17 |
BUILD_DEPENDS= ninja:${PORTSDIR}/devel/ninja \ |
18 |
python:${PORTSDIR}/lang/python |
18 |
python2:${PORTSDIR}/lang/python2 |
19 |
EXTRACT_DEPENDS=${PYTHON_CMD}:${PYTHON_PORTSDIR} |
19 |
EXTRACT_DEPENDS=${PYTHON_CMD}:${PYTHON_PORTSDIR} |
20 |
LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf \ |
20 |
LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf \ |
21 |
libzinnia.so:${PORTSDIR}/japanese/zinnia |
21 |
libzinnia.so:${PORTSDIR}/japanese/zinnia |
22 |
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils |
22 |
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils |
23 |
|
23 |
|
24 |
USES= compiler:c++11-lang pkgconfig iconv:wchar_t gmake \ |
24 |
USES= compiler:c++11-lang pkgconfig iconv:wchar_t gmake \ |
25 |
tar:bzip2 python:build |
25 |
tar:bzip2 python:2,build |
26 |
BUILD_WRKSRC= ${WRKSRC}/src |
26 |
BUILD_WRKSRC= ${WRKSRC}/src |
27 |
|
27 |
|
28 |
BUILD_MOZC_LIST?= mozc_server |
28 |
BUILD_MOZC_LIST?= mozc_server |
Lines 93-98
Link Here
|
93 |
post-patch: |
93 |
post-patch: |
94 |
${REINPLACE_CMD} 's,-liconv,${ICONV_LIB},g' \ |
94 |
${REINPLACE_CMD} 's,-liconv,${ICONV_LIB},g' \ |
95 |
${BUILD_WRKSRC}/gui/qt_libraries.gypi |
95 |
${BUILD_WRKSRC}/gui/qt_libraries.gypi |
|
|
96 |
${REINPLACE_CMD} "s/exec python /exec python2 /" \ |
97 |
${BUILD_WRKSRC}/third_party/gyp/gyp |
98 |
${FIND} ${BUILD_WRKSRC} \( -name '*.gyp' -o -name '*.gypi' \) -exec \ |
99 |
${REINPLACE_CMD} "s/'python'/'python2'/" {} \; |
100 |
${FIND} ${BUILD_WRKSRC} -name '*.py' -exec \ |
101 |
${REINPLACE_CMD} '1s,[[:<:]]python[[:>:]],python2,' {} \; |
96 |
.if ${BUILD_MOZC_LIST:Mfcitx_mozc} == "fcitx_mozc" |
102 |
.if ${BUILD_MOZC_LIST:Mfcitx_mozc} == "fcitx_mozc" |
97 |
${REINPLACE_CMD} 's,/po/mo},%po}mo,g' \ |
103 |
${REINPLACE_CMD} 's,/po/mo},%po}mo,g' \ |
98 |
${BUILD_WRKSRC}/unix/fcitx/gen_fcitx_mozc_i18n.sh |
104 |
${BUILD_WRKSRC}/unix/fcitx/gen_fcitx_mozc_i18n.sh |