aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/ibus-cangjie/Makefile
blob: 5b2d520d4edee46222e3e011cfae8904f1a7af54 (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
34
35
36
37
38
# Created by: blubee <hello@blubee.me>
# $FreeBSD$

PORTNAME=       ibus-cangjie
PORTVERSION=        2.4
DISTVERSIONPREFIX=  v
CATEGORIES=     chinese

MAINTAINER= hello@blubee.me
COMMENT=    IBus engine for users of the Cangjie and Quick

LICENSE=    GPLv3+
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libibus-1.0.so:textproc/ibus
BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/cangjie/_core.so:chinese/pycangjie \
        ${PYTHON_SITELIBDIR}/pycanberra/pycanberra.py:devel/pycanberra@${PY_FLAVOR}
RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/cangjie/_core.so:chinese/pycangjie \
        ${PYTHON_SITELIBDIR}/pycanberra/pycanberra.py:devel/pycanberra@${PY_FLAVOR}

USES=       autoreconf gmake libtool pkgconfig python:3.4+
USE_PYTHON= allflavors
USE_GNOME=  introspection:run pygobject3 intltool
GLIB_SCHEMAS=   org.cangjians.ibus.cangjie.gschema.xml \
        org.cangjians.ibus.quick.gschema.xml

OPTIONS_DEFINE=     NLS
NLS_USES=       gettext
NLS_CONFIGURE_ENABLE=   gettext

INSTALLS_ICONS=     yes
GNU_CONFIGURE=      yes

USE_GITHUB=     yes
GH_ACCOUNT=     Cangjians
GH_PROJECT=     ibus-cangjie

.include <bsd.port.mk>