aboutsummaryrefslogblamecommitdiff
path: root/chinese/fcitx-rime/Makefile
blob: d78a01c6c4d9f9b611e9eb29e7d3d06f7a7ba693 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                             

                          

                     
                       
                                                          

                     


                                                                  
                                 

                                      

                     

                                  

                                                  
                                  
 
                                                              

                   




                                                                                         

                      
# Created by: Zhihao Yuan <lichray@gmail.com>

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=	khng300@gmail.com
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>