mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
2be7f11e2f
PR: 192844 Submitted by: Henry Hu
37 lines
992 B
Makefile
37 lines
992 B
Makefile
# Created by: Zhihao Yuan <lichray@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sunpinyin
|
|
DISTVERSION= 2.0.4rc2
|
|
PORTREVISION= 1
|
|
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= Statistical language model based input method engine
|
|
|
|
LICENSE= LGPL21 CDDL
|
|
LICENSE_COMB= dual
|
|
|
|
LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3
|
|
|
|
MAKE_ARGS+= --prefix=${PREFIX} --libdatadir=${PREFIX}/share
|
|
USE_LDCONFIG= yes
|
|
USES= scons gmake iconv pkgconfig tar:xz
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
|
|
INSTALL_TARGET= install --install-sandbox=${STAGEDIR}
|
|
|
|
post-patch:
|
|
@${CP} ${_DISTDIR}/lm_sc.t3g.arpa.tar.bz2 \
|
|
${_DISTDIR}/dict.utf8.tar.bz2 ${WRKSRC}/raw
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsunpinyin.so.3.0
|
|
|
|
.include <bsd.port.mk>
|