aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/ibus-table-chinese/Makefile
blob: 1c3dab70c8a4de5db58750a164e1d4e18a5a8368 (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
# $FreeBSD$

PORTNAME=   ibus-table-chinese
PORTVERSION=    1.8.2
PORTREVISION=   2
CATEGORIES= chinese

MAINTAINER= ports@FreeBSD.org
COMMENT=    Chinese input tables for IBus

LICENSE=    GPLv3
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  ${LOCALBASE}/share/cmake/Modules/ManageEnvironment.cmake:devel/cmake-fedora \
        ibus-daemon:textproc/ibus \
        ${LOCALBASE}/libexec/ibus-engine-table:textproc/ibus-table
RUN_DEPENDS=    ibus-daemon:textproc/ibus \
        ${LOCALBASE}/libexec/ibus-engine-table:textproc/ibus-table

USES=       cmake:noninja pkgconfig

USE_GITHUB= yes
GH_ACCOUNT= definite

INSTALL_TARGET= install
DATADIR=    ${PREFIX}/share/ibus-table
CMAKE_ARGS+=    -DDATA_DIR:PATH="${PREFIX}/share" \
        -DPRJ_DOC_DIR:PATH="${DOCSDIR}" \
        -DCMAKE_FEDORA_TMP_DIR:PATH="${WRKSRC}"
MAKE_ENV+=  PYTHONDONTWRITEBYTECODE=1

.include <bsd.port.mk>