fcitx5: Set build time dependency to extra-cmake-modules

* Replace DEPENDS with BUILD_DEPENDS. And remove trailing slash.
* Add new BUILD_DEPENDS to some packages. CMake dectects ECM.
This commit is contained in:
ryoon 2021-03-02 13:24:53 +00:00
parent 3f6ef60b4f
commit dfd9480ca8
16 changed files with 39 additions and 27 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2021/03/02 03:04:22 mef Exp $
# $NetBSD: Makefile,v 1.4 2021/03/02 13:24:53 ryoon Exp $
DISTNAME= fcitx5-anthy-5.0.3
CATEGORIES= inputmethod
@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/fcitx/fcitx5-anthy
COMMENT= Anthy Japanese inputmethod for Fcitx5
LICENSE= gnu-gpl-v2
DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules/
BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
USE_CMAKE= yes
USE_PKGLOCALEDIR= yes

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2021/03/02 03:04:23 mef Exp $
# $NetBSD: Makefile,v 1.4 2021/03/02 13:24:53 ryoon Exp $
DISTNAME= fcitx5-chewing-5.0.4
CATEGORIES= inputmethod
@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/fcitx/fcitx5-chewing
COMMENT= Chewing engine for Fcitx5
LICENSE= gnu-gpl-v2
DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules/
BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
USE_CMAKE= yes
USE_PKGLOCALEDIR= yes

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2021/02/27 20:08:01 ryoon Exp $
# $NetBSD: Makefile,v 1.3 2021/03/02 13:24:53 ryoon Exp $
DISTNAME= fcitx5-chinese-addons-5.0.4
CATEGORIES= inputmethod
@ -21,6 +21,8 @@ SITES.${f}= https://download.fcitx-im.org/data/
.endfor
EXTRACT_ONLY= ${DEFAULT_DISTFILES}
BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
USE_CMAKE= yes
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2021/02/27 19:34:11 ryoon Exp $
# $NetBSD: Makefile,v 1.4 2021/03/02 13:24:53 ryoon Exp $
DISTNAME= fcitx5-gtk-5.0.4
CATEGORIES= inputmethod
@ -10,6 +10,8 @@ HOMEPAGE= https://github.com/fcitx/fcitx5-gtk
COMMENT= GTK input method module for fcitx5
LICENSE= gnu-lgpl-v2.1
BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
USE_CMAKE= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2021/03/02 03:04:23 mef Exp $
# $NetBSD: Makefile,v 1.3 2021/03/02 13:24:53 ryoon Exp $
DISTNAME= fcitx5-hangul-5.0.2
CATEGORIES= inputmethod
@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/fcitx/fcitx5-hangul
COMMENT= Hangul Wrapper for Fcitx5
LICENSE= gnu-gpl-v2
DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules/
BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
USE_CMAKE= yes
USE_PKGLOCALEDIR= yes

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2021/03/02 03:04:23 mef Exp $
# $NetBSD: Makefile,v 1.3 2021/03/02 13:24:53 ryoon Exp $
DISTNAME= fcitx5-libthai-5.0.2
CATEGORIES= inputmethod
@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/fcitx/fcitx5-libthai
COMMENT= Thai language input method for Fcitx5
LICENSE= gnu-gpl-v2
DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules/
BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
USE_CMAKE= yes
USE_PKGLOCALEDIR= yes

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2021/03/02 03:04:23 mef Exp $
# $NetBSD: Makefile,v 1.4 2021/03/02 13:24:53 ryoon Exp $
DISTNAME= fcitx5-lua-5.0.3
CATEGORIES= inputmethod
@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/fcitx/fcitx5-lua
COMMENT= Lua support for fcitx5
LICENSE= gnu-lgpl-v2.1
DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules/
BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
USE_CMAKE= yes
USE_PKGLOCALEDIR= yes

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2021/03/02 03:04:23 mef Exp $
# $NetBSD: Makefile,v 1.3 2021/03/02 13:24:53 ryoon Exp $
DISTNAME= fcitx5-m17n-5.0.3
CATEGORIES= inputmethod
@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/fcitx/fcitx5-m17n
COMMENT= Wrapper library of m17n for Fcitx5
LICENSE= gnu-lgpl-v2.1
DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules/
BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
USE_CMAKE= yes
USE_PKGLOCALEDIR= yes

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2021/03/02 03:04:23 mef Exp $
# $NetBSD: Makefile,v 1.4 2021/03/02 13:24:53 ryoon Exp $
DISTNAME= fcitx5-qt-5.0.3
CATEGORIES= inputmethod
@ -10,7 +10,7 @@ HOMEPAGE= https://download.fcitx-im.org/fcitx5/fcitx5-qt/
COMMENT= Qt5 library and IM module for fcitx5
LICENSE= gnu-lgpl-v2.1
DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules/
BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
USE_CMAKE= yes
USE_PKGLOCALEDIR= yes

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2021/03/02 03:04:23 mef Exp $
# $NetBSD: Makefile,v 1.3 2021/03/02 13:24:54 ryoon Exp $
DISTNAME= fcitx5-rime-5.0.4
CATEGORIES= inputmethod
@ -10,8 +10,8 @@ HOMEPAGE= https://github.com/fcitx/fcitx5-rime
COMMENT= RIME traditional Chinese input method for Fcitx5
LICENSE= gnu-lgpl-v2.1
BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
DEPENDS+= rime-luna-pinyin-[0-9]*:../../inputmethod/rime-luna-pinyin
DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules/
USE_CMAKE= yes
USE_PKGLOCALEDIR= yes

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2021/03/02 03:04:23 mef Exp $
# $NetBSD: Makefile,v 1.3 2021/03/02 13:24:54 ryoon Exp $
DISTNAME= fcitx5-sayura-5.0.2
CATEGORIES= inputmethod
@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/fcitx/fcitx5-sayura
COMMENT= Sinhala input method for Fcitx5
LICENSE= gnu-gpl-v2
DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules/
BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
USE_CMAKE= yes
USE_PKGLOCALEDIR= yes

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2021/02/27 20:10:32 ryoon Exp $
# $NetBSD: Makefile,v 1.3 2021/03/02 13:24:54 ryoon Exp $
DISTNAME= fcitx5-skk-5.0.4
CATEGORIES= inputmethod
@ -10,6 +10,8 @@ HOMEPAGE= https://github.com/fcitx/fcitx5-skk
COMMENT= SKK Kana-Kanji inputmethod for fcitx5
LICENSE= gnu-gpl-v3
BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
USE_CMAKE= yes
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2021/02/20 21:45:07 ryoon Exp $
# $NetBSD: Makefile,v 1.2 2021/03/02 13:24:54 ryoon Exp $
DISTNAME= fcitx5-table-extra-5.0.2
CATEGORIES= inputmethod
@ -10,6 +10,8 @@ HOMEPAGE= https://download.fcitx-im.org/fcitx5/fcitx5-table-extra/
COMMENT= Extra Chinese table for Fcitx5
LICENSE= gnu-gpl-v2
BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
DEPENDS+= fcitx5-[0-9]*:../../inputmethod/fcitx5
DEPENDS+= libime-[0-9]*:../../inputmethod/libime

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2021/02/20 21:47:19 ryoon Exp $
# $NetBSD: Makefile,v 1.2 2021/03/02 13:24:54 ryoon Exp $
DISTNAME= fcitx5-table-other-5.0.3
CATEGORIES= inputmethod
@ -10,6 +10,8 @@ HOMEPAGE= https://download.fcitx-im.org/fcitx5/fcitx5-table-other/
COMMENT= Non-Chinese tables for Fcitx5
LICENSE= gnu-gpl-v3
BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
DEPENDS+= fcitx5-[0-9]*:../../inputmethod/fcitx5
DEPENDS+= libime-[0-9]*:../../inputmethod/libime

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2021/02/20 21:49:56 ryoon Exp $
# $NetBSD: Makefile,v 1.2 2021/03/02 13:24:54 ryoon Exp $
DISTNAME= fcitx5-unikey-5.0.3
CATEGORIES= inputmethod
@ -10,6 +10,8 @@ HOMEPAGE= https://github.com/fcitx/fcitx5-unikey
COMMENT= Unikey Vietnamese input method engine for Fcitx5
LICENSE= gnu-gpl-v3
BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
USE_CMAKE= yes
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2021/03/02 03:04:23 mef Exp $
# $NetBSD: Makefile,v 1.3 2021/03/02 13:24:54 ryoon Exp $
DISTNAME= fcitx5-zhuyin-5.0.3
CATEGORIES= inputmethod
@ -10,8 +10,6 @@ HOMEPAGE= https://github.com/fcitx/fcitx5-zhuyin
COMMENT= Libzhuyin Wrapper for Fcitx5
LICENSE= gnu-gpl-v2
DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules/
DISTFILES+= ${DEFAULT_DISTFILES}
MOREDISTFILES+= model.text.20161206.tar.gz
.for f in ${MOREDISTFILES}
@ -20,6 +18,8 @@ SITES.${f}= https://download.fcitx-im.org/data/
.endfor
EXTRACT_ONLY= ${DEFAULT_DISTFILES}
BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
USE_CMAKE= yes
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++