PORTNAME=	fcitx5-table-extra
DISTVERSION=	5.1.13
CATEGORIES=	chinese textproc
MASTER_SITES=	https://download.fcitx-im.org/fcitx5/${PORTNAME}/

MAINTAINER=	lwhsu@FreeBSD.org
COMMENT=	Extra table support for Fcitx5
WWW=		https://github.com/fcitx/fcitx5-table-extra

LICENSE=	GPLv2+ GPLv3
LICENSE_COMB=	multi

BUILD_DEPENDS=	${LOCALBASE}/lib/libFcitx5Core.so:textproc/fcitx5 \
		${LOCALBASE}/lib/libIMETable.so:chinese/libime
RUN_DEPENDS=	fcitx5>0:textproc/fcitx5

USES=		cmake gettext-tools kde tar:zst

USE_KDE=	ecm:build

INSTALL_TARGET=	install

CONFLICTS_INSTALL=	zh-fcitx-table-extra # share/icons/hicolor/48x48/apps/fcitx-cantonese.png

.include <bsd.port.mk>
