Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/chinese/fcitx-rime/Makefile
16149 views
# Created by: Zhihao Yuan <[email protected]>

PORTNAME=	fcitx-rime
DISTVERSION=	0.3.2
PORTREVISION=	2
CATEGORIES=	chinese
MASTER_SITES=	https://download.fcitx-im.org/${PORTNAME}/
DIST_SUBDIR=	fcitx

PATCH_SITES=	https://github.com/fcitx/${PORTNAME}/commit/
PATCHFILES=	a3a9fffb6ee89adc327ad8a7dec05d5f35414f9d.patch:-p1

MAINTAINER=	[email protected]
COMMENT=	RIME support for Fcitx

LICENSE=	GPLv2

BUILD_DEPENDS=	bash:shells/bash \
		${_SCHEMA_DEPENDS}
LIB_DEPENDS=	libfcitx-config.so:chinese/fcitx \
		librime.so:chinese/librime
RUN_DEPENDS=	${_SCHEMA_DEPENDS}

USES=		cmake gettext gnome localbase pkgconfig tar:xz
INSTALLS_ICONS=	yes

_SCHEMA_DEPENDS=	\
	${LOCALBASE}/share/rime-data/luna_pinyin.schema.yaml:chinese/rime-luna-pinyin	\
	${LOCALBASE}/share/rime-data/bopomofo.schema.yaml:chinese/rime-bopomofo	\
	${LOCALBASE}/share/rime-data/cangjie5.schema.yaml:chinese/rime-cangjie	\
	${LOCALBASE}/share/rime-data/stroke.schema.yaml:chinese/rime-stroke

.include <bsd.port.mk>