git: f57f71f6db30 - main - japanese/fcitx5-anthy: Flavorize for anthy-unicode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Mar 2025 06:48:40 UTC
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=f57f71f6db307b04a68ed99ff2079b9a9ab12e6b commit f57f71f6db307b04a68ed99ff2079b9a9ab12e6b Author: mew14930xvi <mew14930xvi@inbox.lv> AuthorDate: 2025-03-13 06:45:31 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2025-03-13 06:48:35 +0000 japanese/fcitx5-anthy: Flavorize for anthy-unicode PR: 283177 --- japanese/fcitx5-anthy/Makefile | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/japanese/fcitx5-anthy/Makefile b/japanese/fcitx5-anthy/Makefile index d53b54bb1e1f..3b2d5565021a 100644 --- a/japanese/fcitx5-anthy/Makefile +++ b/japanese/fcitx5-anthy/Makefile @@ -10,11 +10,22 @@ WWW= https://github.com/fcitx/fcitx5-anthy LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt -LIB_DEPENDS= libanthy.so:japanese/anthy \ - libFcitx5Core.so:textproc/fcitx5 +LIB_DEPENDS= libFcitx5Core.so:textproc/fcitx5 + +FLAVORS= original unicode +FLAVOR?= ${FLAVORS:[1]} USES= cmake compiler:c++17-lang gettext-tools kde:5 pkgconfig tar:zst USE_KDE= ecm +.if ${FLAVOR} == original +LIB_DEPENDS+= libanthy.so:japanese/anthy +CONFLICTS_INSTALL= ${PORTNAME}-unicode +.else +PKGNAMESUFFIX= -unicode +LIB_DEPENDS+= libanthy-unicode.so:japanese/anthy-unicode +CONFLICTS_INSTALL= ${PORTNAME} +.endif + .include <bsd.port.mk>