aboutsummaryrefslogtreecommitdiff
path: root/chinese/ibus-rime/Makefile
blob: d6484b6d6d4c033ed295a7e77a996d170169486b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Ka Ho Ng <khng300@gmail.com>

PORTNAME=	ibus-rime
DISTVERSION=	1.5.0
CATEGORIES=	chinese

MAINTAINER=	khng300@gmail.com
COMMENT=	IBus engine for Rime users

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${_SCHEMA_DEPENDS}
LIB_DEPENDS=	libibus-1.0.so:textproc/ibus \
		libnotify.so:devel/libnotify \
		librime.so:chinese/librime
RUN_DEPENDS=	${_SCHEMA_DEPENDS}

USES=		cmake gnome pkgconfig
USE_CSTD=	c99

INSTALLS_ICONS=		yes

USE_GITHUB=	yes
GH_ACCOUNT=	rime

_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>