freebsd-ports/chinese/libchewing/Makefile
Vanilla I. Shu 29db6498d8 Fix runtime error with wrong datadir.
Obtained from:	James Hung via facebook.
2015-02-26 14:28:14 +00:00

36 lines
825 B
Makefile

# Created by: Kuang-che Wu <kcwu@csie.org>
# $FreeBSD$
PORTNAME= libchewing
PORTVERSION= 0.4.0
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:${PORTSDIR}/print/texinfo
LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3
USES= cmake gmake libtool pathfix pkgconfig tar:bzip2
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= chewing
GH_PROJECT= ${PORTNAME}
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= 6d6e67c
CMAKE_ARGS+= -DMAKEINFO=${LOCALBASE}/bin/makeinfo
CFLAGS+= -I${LOCALBASE}/include
INFO= libchewing
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc"
BROKEN= Does not install on powerpc: signal 6
.endif
.include <bsd.port.post.mk>