| @@ -1,40 +1,41 @@ | | | @@ -1,40 +1,41 @@ |
1 | # $NetBSD: Makefile,v 1.3 2021/03/02 13:24:53 ryoon Exp $ | | 1 | # $NetBSD: Makefile,v 1.4 2021/03/29 06:13:28 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= fcitx5-chinese-addons-5.0.4 | | 3 | DISTNAME= fcitx5-chinese-addons-5.0.4 |
4 | CATEGORIES= inputmethod | | 4 | CATEGORIES= inputmethod |
5 | MASTER_SITES= https://download.fcitx-im.org/fcitx5/fcitx5-chinese-addons/ | | 5 | MASTER_SITES= https://download.fcitx-im.org/fcitx5/fcitx5-chinese-addons/ |
6 | EXTRACT_SUFX= .tar.xz | | 6 | EXTRACT_SUFX= .tar.xz |
7 | | | 7 | |
8 | MAINTAINER= ryoon@NetBSD.org | | 8 | MAINTAINER= ryoon@NetBSD.org |
9 | HOMEPAGE= https://github.com/fcitx/fcitx5-chinese-addons | | 9 | HOMEPAGE= https://github.com/fcitx/fcitx5-chinese-addons |
10 | COMMENT= Pinyin and table input method support for fcitx5 | | 10 | COMMENT= Pinyin and table input method support for fcitx5 |
11 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 | | 11 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 |
12 | | | 12 | |
13 | DIST_SUBDIR= ${PKGNAME_NOREV} | | 13 | DIST_SUBDIR= ${PKGNAME_NOREV} |
14 | | | 14 | |
15 | DISTFILES+= ${DEFAULT_DISTFILES} | | 15 | DISTFILES+= ${DEFAULT_DISTFILES} |
16 | MOREDISTFILES+= py_stroke-20121124.tar.gz | | 16 | MOREDISTFILES+= py_stroke-20121124.tar.gz |
17 | MOREDISTFILES+= py_table-20121124.tar.gz | | 17 | MOREDISTFILES+= py_table-20121124.tar.gz |
18 | .for f in ${MOREDISTFILES} | | 18 | .for f in ${MOREDISTFILES} |
19 | DISTFILES+= ${f} | | 19 | DISTFILES+= ${f} |
20 | SITES.${f}= https://download.fcitx-im.org/data/ | | 20 | SITES.${f}= https://download.fcitx-im.org/data/ |
21 | .endfor | | 21 | .endfor |
22 | EXTRACT_ONLY= ${DEFAULT_DISTFILES} | | 22 | EXTRACT_ONLY= ${DEFAULT_DISTFILES} |
23 | | | 23 | |
24 | BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules | | 24 | BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules |
25 | | | 25 | |
26 | USE_CMAKE= yes | | 26 | USE_CMAKE= yes |
27 | USE_PKGLOCALEDIR= yes | | 27 | USE_PKGLOCALEDIR= yes |
| | | 28 | USE_TOOLS+= pkg-config |
28 | USE_LANGUAGES= c c++ | | 29 | USE_LANGUAGES= c c++ |
29 | | | 30 | |
30 | post-extract: | | 31 | post-extract: |
31 | .for f in ${MOREDISTFILES} | | 32 | .for f in ${MOREDISTFILES} |
32 | cd ${WRKSRC}/modules/pinyinhelper && \ | | 33 | cd ${WRKSRC}/modules/pinyinhelper && \ |
33 | ${LN} -sf ${DISTDIR}/${DIST_SUBDIR}/${f} ${f} | | 34 | ${LN} -sf ${DISTDIR}/${DIST_SUBDIR}/${f} ${f} |
34 | .endfor | | 35 | .endfor |
35 | | | 36 | |
36 | | | 37 | |
37 | .include "../../converters/opencc/buildlink3.mk" | | 38 | .include "../../converters/opencc/buildlink3.mk" |
38 | .include "../../devel/boost-libs/buildlink3.mk" | | 39 | .include "../../devel/boost-libs/buildlink3.mk" |
39 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | | 40 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" |
40 | .include "../../inputmethod/fcitx5-lua/buildlink3.mk" | | 41 | .include "../../inputmethod/fcitx5-lua/buildlink3.mk" |