aboutsummaryrefslogtreecommitdiff
path: root/chinese/libchewing/Makefile
blob: da49fb64bbada431ce500253cf209764af7b2b2b (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
PORTNAME=	libchewing
DISTVERSION=	0.8.4
CATEGORIES=	chinese textproc
MASTER_SITES=	https://github.com/chewing/${PORTNAME}/releases/download/v${DISTVERSION}/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Chewing intelligent phonetic input method library
WWW=		https://chewing.im

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		cmake:testing localbase:ldflags pathfix pkgconfig sqlite tar:zst
USE_LDCONFIG=	yes

# Tests when running in parallel
# https://github.com/chewing/libchewing/issues/293
CMAKE_TESTING_PARALLEL_LEVEL=	1

CMAKE_OFF=	BUILD_INFO \
		BUILD_TESTING \
		WITH_RUST
CMAKE_ON=	WITH_SQLITE3

.include <bsd.port.mk>