36 lines
915 B
Makefile
36 lines
915 B
Makefile
# Created by: Zhihao Yuan <lichray@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sunpinyin
|
|
DISTVERSION= 2.0.4rc2
|
|
CATEGORIES= chinese devel
|
|
MASTER_SITES= LOCAL/delphij:1 \
|
|
${MASTER_SITE_GOOGLE_CODE}:1 \
|
|
http://open-gram.googlecode.com/files/:2
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:1 \
|
|
lm_sc.t3g.arpa.tar.bz2:2 dict.utf8.tar.bz2:2
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= lichray@gmail.com
|
|
COMMENT= A statistical language model based input method engine
|
|
|
|
LICENSE= LGPL21 CDDL
|
|
LICENSE_COMB= dual
|
|
|
|
LIB_DEPENDS= sqlite3:${PORTSDIR}/databases/sqlite3
|
|
|
|
LICENSE_FILE_LGPL21= ${WRKSRC}/LGPL.LICENSE
|
|
LICENSE_FILE_CDDL= ${WRKSRC}/OPENSOLARIS.LICENSE
|
|
|
|
USES= pkgconfig
|
|
USE_XZ= yes
|
|
USE_SCONS= yes
|
|
SCONS_ARGS+= --prefix=${PREFIX} --libdatadir=${PREFIX}/share
|
|
USE_LDCONFIG= yes
|
|
USE_GMAKE= yes
|
|
|
|
post-patch:
|
|
@${CP} ${_DISTDIR}/lm_sc.t3g.arpa.tar.bz2 \
|
|
${_DISTDIR}/dict.utf8.tar.bz2 ${WRKSRC}/raw
|
|
|
|
.include <bsd.port.mk>
|