aboutsummaryrefslogtreecommitdiff
path: root/japanese/fcitx5-anthy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/fcitx5-anthy/Makefile')
-rw-r--r--japanese/fcitx5-anthy/Makefile16
1 files changed, 3 insertions, 13 deletions
diff --git a/japanese/fcitx5-anthy/Makefile b/japanese/fcitx5-anthy/Makefile
index 4ca92df35480..940006821d03 100644
--- a/japanese/fcitx5-anthy/Makefile
+++ b/japanese/fcitx5-anthy/Makefile
@@ -1,5 +1,6 @@
PORTNAME= fcitx5-anthy
DISTVERSION= 5.1.6
+PORTREVISION= 1
CATEGORIES= japanese textproc
MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/
@@ -10,22 +11,11 @@ WWW= https://github.com/fcitx/fcitx5-anthy
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt
-LIB_DEPENDS= libFcitx5Core.so:textproc/fcitx5
-
-FLAVORS= original unicode
-FLAVOR?= ${FLAVORS:[1]}
+LIB_DEPENDS= libFcitx5Core.so:textproc/fcitx5 \
+ libanthy-unicode.so:japanese/anthy-unicode
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>