summaryrefslogtreecommitdiff
path: root/chinese/ibus-pinyin/Makefile
blob: b3078eb175480e8440bf913d099106a08ff7361f (plain)
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: Henry Hu <henry.hu.sh@gmail.com>
# $FreeBSD$

PORTNAME=	ibus-pinyin
PORTVERSION=	1.5.0
PORTREVISION=	8
CATEGORIES=	chinese

MAINTAINER=	henry.hu.sh@gmail.com
COMMENT=	PinYin engine for IBus

LICENSE=	GPLv2

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \
		${LOCALBASE}/share/gir-1.0/IBus-1.0.gir:textproc/ibus
LIB_DEPENDS=	libpyzy-1.0.so:chinese/pyzy \
		libibus-1.0.so:textproc/ibus \
		libsqlite3.so:databases/sqlite3

USES=		compiler:c++11-lib gmake pkgconfig python autoreconf libtool gettext
USE_GITHUB=	yes
GH_ACCOUNT=	ibus
USE_GNOME=	glib20 intltool
USE_PYTHON=	py3kplist
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-dependency-tracking --disable-lua-extension

OPTIONS_DEFINE=	NLS
OPTIONS_SUB=	yes

NLS_CONFIGURE_ENABLE=	nls

.include <bsd.port.mk>