# Created by: Kuang-che Wu <kcwu@csie.org>

PORTNAME=	libchewing
PORTVERSION=	0.5.1
DISTVERSIONPREFIX=	v
PORTREVISION=	1
CATEGORIES=	chinese textproc

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Chewing intelligent phonetic input method library

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	${LOCALBASE}/bin/makeinfo:print/texinfo

USE_GITHUB=	yes
GH_ACCOUNT=	chewing

USES=		cmake libtool localbase pathfix pkgconfig sqlite
CMAKE_ARGS=	-DMAKEINFO=${LOCALBASE}/bin/makeinfo
USE_LDCONFIG=	yes

INFO=		libchewing

.include <bsd.port.mk>
