diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-09-14 08:51:34 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-09-14 08:51:34 +0000 |
commit | e25ddcf079501389758b6e47ab545e9f06e94f7d (patch) | |
tree | ec8d23ac9c4b33ea091e79b86e63ac2074f7acb4 /chinese/sunpinyin | |
parent | cb8f923af6e23780692065ba9998c7bfe04770ef (diff) | |
download | ports-e25ddcf079501389758b6e47ab545e9f06e94f7d.tar.gz ports-e25ddcf079501389758b6e47ab545e9f06e94f7d.zip |
Notes
Diffstat (limited to 'chinese/sunpinyin')
-rw-r--r-- | chinese/sunpinyin/Makefile | 10 | ||||
-rw-r--r-- | chinese/sunpinyin/files/patch-SConstruct | 16 | ||||
-rw-r--r-- | chinese/sunpinyin/pkg-descr | 2 |
3 files changed, 16 insertions, 12 deletions
diff --git a/chinese/sunpinyin/Makefile b/chinese/sunpinyin/Makefile index 210adf2d6fa4..20379f323677 100644 --- a/chinese/sunpinyin/Makefile +++ b/chinese/sunpinyin/Makefile @@ -12,22 +12,18 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:1 \ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= lichray@gmail.com -COMMENT= A statistical language model based input method engine +COMMENT= Statistical language model based input method engine LICENSE= LGPL21 CDDL LICENSE_COMB= dual -LIB_DEPENDS= sqlite3:${PORTSDIR}/databases/sqlite3 +LIB_DEPENDS= libsqlite3.so:${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 +USES= gmake pkgconfig post-patch: @${CP} ${_DISTDIR}/lm_sc.t3g.arpa.tar.bz2 \ diff --git a/chinese/sunpinyin/files/patch-SConstruct b/chinese/sunpinyin/files/patch-SConstruct index 06f76c04c87b..d18c10030ceb 100644 --- a/chinese/sunpinyin/files/patch-SConstruct +++ b/chinese/sunpinyin/files/patch-SConstruct @@ -1,6 +1,6 @@ ---- SConstruct.orig 2012-07-17 23:25:59.000000000 -0500 -+++ SConstruct 2012-07-17 23:40:11.633113871 -0500 -@@ -176,10 +176,12 @@ def CreateEnvironment(): +--- SConstruct.orig 2012-07-18 12:25:59.000000000 +0800 ++++ SConstruct 2013-09-14 14:44:54.603035259 +0800 +@@ -176,10 +176,12 @@ libln_builder = Builder(action='ln -s ${SOURCE.name} ${TARGET.name}', chdir=True) @@ -17,7 +17,15 @@ env.Append(BUILDERS={'InstallAsSymlink': libln_builder}) return env -@@ -420,7 +422,7 @@ def DoInstall(): +@@ -324,7 +326,6 @@ + conf.CheckFunc('getopt_long') + conf.CheckFunc('getpagesize') + conf.CheckFunc('get_opt') +- conf.CheckCHeader('iconv.h') + conf.CheckCHeader('inttypes.h') + conf.CheckCHeader('locale.h') + conf.CheckCHeader('libintl.h') +@@ -420,7 +421,7 @@ lib_target_bin), ] diff --git a/chinese/sunpinyin/pkg-descr b/chinese/sunpinyin/pkg-descr index 1bfe2a9c1539..c3f5f6d8e3fb 100644 --- a/chinese/sunpinyin/pkg-descr +++ b/chinese/sunpinyin/pkg-descr @@ -2,4 +2,4 @@ SunPinyin is a statistical language model based Chinese input method, which was firstly developed by Sun Beijing Globalization team, and opensource'd to community with opensolaris project, with LGPLv2 and CDDL dual-licenses. -WWW: http://code.google.com/p/sunpinyin/ +WWW: http://code.google.com/p/sunpinyin/ |