# 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=	Statistical language model based input method engine

LICENSE=	LGPL21 CDDL
LICENSE_COMB=	dual

LIB_DEPENDS=	libsqlite3.so:${PORTSDIR}/databases/sqlite3

USE_XZ=		yes
USE_SCONS=	yes
SCONS_ARGS+=	--prefix=${PREFIX} --libdatadir=${PREFIX}/share
USE_LDCONFIG=	yes
USES=		gmake iconv pkgconfig
LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB}

NO_STAGE=	yes
post-patch:
	@${CP} ${_DISTDIR}/lm_sc.t3g.arpa.tar.bz2 \
		${_DISTDIR}/dict.utf8.tar.bz2 ${WRKSRC}/raw

.include <bsd.port.mk>
2/git/freebsd-ports-gnome' title='freebsd-ports-gnome Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/~lantw44/cgit/'><img src='/~lantw44/cgit-data/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/~lantw44/cgit/'>index</a> : <a title='freebsd-ports-gnome' href='/~lantw44/cgit/freebsd-ports-gnome/'>freebsd-ports-gnome</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='c51dc118d16532cbb0975f6a1283f79f0f639846'/><select name='h' onchange='this.form.submit();'>
<option value='cinnamon'>cinnamon</option>
<option value='cinnamon-2.8'>cinnamon-2.8</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/bl-1.2.3'>dependabot/npm_and_yarn/devel/electron4/files/bl-1.2.3</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.3'>dependabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.3</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.4'>dependabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.4</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/ini-1.3.7'>dependabot/npm_and_yarn/devel/electron4/files/ini-1.3.7</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/lodash-4.17.19'>dependabot/npm_and_yarn/devel/electron4/files/lodash-4.17.19</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/lodash.merge-4.6.2'>dependabot/npm_and_yarn/devel/electron4/files/lodash.merge-4.6.2</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.2'>dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.2</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.3'>dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.3</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/node-fetch-2.6.1'>dependabot/npm_and_yarn/devel/electron4/files/node-fetch-2.6.1</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/y18n-3.2.2'>dependabot/npm_and_yarn/devel/electron4/files/y18n-3.2.2</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3'>dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.4'>dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.4</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8' selected='selected'>dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19'>dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/lodash.merge-4.6.2'>dependabot/npm_and_yarn/devel/electron6/files/lodash.merge-4.6.2</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/node-fetch-2.6.1'>dependabot/npm_and_yarn/devel/electron6/files/node-fetch-2.6.1</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2</option>
<option value='gnome-3.22'>gnome-3.22</option>
<option value='gnome-3.24'>gnome-3.24</option>
<option value='gnome-3.26'>gnome-3.26</option>
<option value='gnome-3.28'>gnome-3.28</option>
<option value='gnome-3.32'>gnome-3.32</option>
<option value='gnome-3.36'>gnome-3.36</option>
<option value='gstreamer'>gstreamer</option>
<option value='gstreamer-1.16'>gstreamer-1.16</option>
<option value='gstreamer0.10-removal'>gstreamer0.10-removal</option>
<option value='main'>main</option>
<option value='master'>master</option>
<option value='mate-1.16'>mate-1.16</option>
<option value='mate-1.18'>mate-1.18</option>
<option value='mate-1.20'>mate-1.20</option>
<option value='mate-1.22'>mate-1.22</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/~lantw44/cgit/freebsd-ports-gnome/about/?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8'>about</a><a href='/~lantw44/cgit/freebsd-ports-gnome/?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8'>summary</a><a href='/~lantw44/cgit/freebsd-ports-gnome/refs/?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=c51dc118d16532cbb0975f6a1283f79f0f639846'>refs</a><a class='active' href='/~lantw44/cgit/freebsd-ports-gnome/log/graphics/intergif?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8'>log</a><a href='/~lantw44/cgit/freebsd-ports-gnome/tree/graphics/intergif?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=c51dc118d16532cbb0975f6a1283f79f0f639846'>tree</a><a href='/~lantw44/cgit/freebsd-ports-gnome/commit/graphics/intergif?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=c51dc118d16532cbb0975f6a1283f79f0f639846'>commit</a><a href='/~lantw44/cgit/freebsd-ports-gnome/diff/graphics/intergif?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=c51dc118d16532cbb0975f6a1283f79f0f639846'>diff</a><a href='/~lantw44/cgit/freebsd-ports-gnome/stats/graphics/intergif?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/freebsd-ports-gnome/log/graphics/intergif'>
<input type='hidden' name='h' value='dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8'/><input type='hidden' name='id' value='c51dc118d16532cbb0975f6a1283f79f0f639846'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/~lantw44/cgit/freebsd-ports-gnome/log/?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=c51dc118d16532cbb0975f6a1283f79f0f639846'>root</a>/<a href='/~lantw44/cgit/freebsd-ports-gnome/log/graphics?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=c51dc118d16532cbb0975f6a1283f79f0f639846'>graphics</a>/<a href='/~lantw44/cgit/freebsd-ports-gnome/log/graphics/intergif?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=c51dc118d16532cbb0975f6a1283f79f0f639846'>intergif</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/freebsd-ports-gnome/log/graphics/intergif?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=c51dc118d16532cbb0975f6a1283f79f0f639846&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/freebsd-ports-gnome/commit/graphics/intergif?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=73a340ff2b6f38a675faf5b147a175750f578bb6'>- Update MASTER_SITES</a></td><td>miwi</td><td><span title='2013-02-04 22:19:57 +0800'>2013-02-04</span></td><td>2</td><td><span class='deletions'>-24</span>/<span class='insertions'>+14</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/freebsd-ports-gnome/commit/graphics/intergif?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=504a814c70767b8d6f0c54c90af3976bd0907e2b'>- Reset MAINTAINER on ports with addresses that have unrecoverable bounces.</a></td><td>zi</td><td><span title='2012-12-07 00:39:07 +0800'>2012-12-07</span></td><td>1</td><td><span class='deletions'>-1</span>/<span class='insertions'>+1</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/freebsd-ports-gnome/commit/graphics/intergif?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=d985c41d6db5f42ba327f1884a0dd91156eca163'>- Fix build with clang</a></td><td>gahr</td><td><span title='2012-11-30 23:07:20 +0800'>2012-11-30</span></td><td>1</td><td><span class='deletions'>-0</span>/<span class='insertions'>+11</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/freebsd-ports-gnome/commit/graphics/intergif?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=0c67d4afb96dd8f5a3027a115c8a2ee5e3241ca9'>Remove more tags from pkg-descr files fo the form:</a></td><td>dougb</td><td><span title='2011-10-24 12:17:37 +0800'>2011-10-24</span></td><td>1</td><td><span class='deletions'>-3</span>/<span class='insertions'>+0</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/freebsd-ports-gnome/commit/graphics/intergif?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=f9baa3972d245135253678a952bf4366c76d5d14'>-remove MD5</a></td><td>ohauer</td><td><span title='2011-07-03 22:12:22 +0800'>2011-07-03</span>