29db6498d8
Obtained from: James Hung via facebook.
36 lines
825 B
Makefile
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>
|