mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
- Fix build on 10-CURRENT: disable iconv functionality by removing iconv.h detection
- While I'm here: - Remove leading indefinite article from COMMENT - Remove LICENSE_FILE for well-known licenses - Covnert to new LIB_DEPENDS format - Use USES=gmake PR: ports/182079 Submitted by: Henry Hu <henry.hu.sh@gmail.com> Approved by: Zhihao Yuan <zy@miator.net> (maintainer)
This commit is contained in:
parent
cb8f923af6
commit
e25ddcf079
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327251
@ -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 \
|
||||
|
@ -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),
|
||||
]
|
||||
|
||||
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user