Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
After its pioneering work on Chinese i18n/l10n issues, TaBE Project extends its
goal to more general Chinese language processing issues on computer systems.
libtabe, the latest work made available by the Project, is a library which
provides useful Chinese functions/routines that deal with many fundamental
elements such as pronunciation(BoPoMoFo), character frequency, word
identification, word frequency. It also comes with a free word database
consists of more than 130,000 words.

View File

@@ -0,0 +1,44 @@
# $NetBSD: Makefile,v 1.24 2012/10/06 14:25:14 asau Exp $
DISTNAME= libtabe-0.2.6
PKGREVISION= 3
CATEGORIES= chinese inputmethod
MASTER_SITES= ftp://cle.linux.org.tw/pub/xcin/cvs/
MAINTAINER= rxg@NetBSD.org
HOMEPAGE= http://libtabe.sourceforge.net/
COMMENT= Library for Chinese language processing
LICENSE= modified-bsd
MAKE_JOBS_SAFE= no
BDB_ACCEPTED= db2 db3 db4 db5
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-db-inc=${BDBBASE}/include/${BDB_TYPE}
CONFIGURE_ARGS+= --with-db-lib=${BDBBASE}/lib
CONFIGURE_ARGS+= --with-db-name=${BDB_TYPE}
INSTALL_MAKE_FLAGS+= program_prefix=${DESTDIR}
INSTALLATION_DIRS+= share/doc/tabe
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/tabe
${INSTALL_DATA} ${WRKSRC}/src/supports/bims/README \
${DESTDIR}${PREFIX}/share/doc/tabe/README.bims
${INSTALL_DATA} ${WRKSRC}/tsi-src/README \
${DESTDIR}${PREFIX}/share/doc/tabe/README.tsi
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../mk/bsd.prefs.mk"
.if ${X11_TYPE} == "modular"
CONFIGURE_ARGS+= --x-includes=${PREFIX}/include
.endif
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

22
inputmethod/libtabe/PLIST Normal file
View File

@@ -0,0 +1,22 @@
@comment $NetBSD: PLIST,v 1.6 2009/11/24 11:15:14 obache Exp $
bin/tsiadd
bin/tsidel
bin/tsidump
bin/tsiguess
bin/tsiyincheck
bin/tsiyindump
include/bims.h
include/tabe.h
lib/libbims.la
lib/libtabe.la
lib/tabe/tsi.db
lib/tabe/yin.db
share/doc/tabe/BoPoMoFo.shtml
share/doc/tabe/Changes
share/doc/tabe/Changes.pre-0.1
share/doc/tabe/README.bims
share/doc/tabe/README.tsi
share/doc/tabe/TODO
share/doc/tabe/ZuYinCode.txt
share/doc/tabe/et26.txt
share/doc/tabe/libtabe.sgml

View File

@@ -0,0 +1,15 @@
# $NetBSD: buildlink3.mk,v 1.9 2009/11/24 11:15:14 obache Exp $
BUILDLINK_TREE+= libtabe
.if !defined(LIBTABE_BUILDLINK3_MK)
LIBTABE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libtabe+= libtabe>=0.2.5
BUILDLINK_ABI_DEPENDS.libtabe+= libtabe>=0.2.6
BUILDLINK_PKGSRCDIR.libtabe?= ../../inputmethod/libtabe
.include "../../mk/bdb.buildlink3.mk"
.endif # LIBTABE_BUILDLINK3_MK
BUILDLINK_TREE+= -libtabe

View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.6 2010/06/02 12:34:02 adam Exp $
SHA1 (libtabe-0.2.6.tar.gz) = d0c6a8a82e22567fa47e897ba7141414c9b71431
RMD160 (libtabe-0.2.6.tar.gz) = 0d5d6d5cadb8d099ec77a28d54a0366efacc9ffd
Size (libtabe-0.2.6.tar.gz) = 1788455 bytes
SHA1 (patch-aa) = d4ac9101ce7352a9f440638e6ab81c1017df71ce
SHA1 (patch-ad) = 474f0ff1a02d949d66f2802c25b81ed1722041d1
SHA1 (patch-ae) = 52985fda50a11adce231122c87ddb060773a7707
SHA1 (patch-af) = 2b5efdddc1e2e4b40c8a8f1d5f9b66df004688cc

View File

@@ -0,0 +1,24 @@
$NetBSD: patch-aa,v 1.5 2010/06/02 12:34:02 adam Exp $
--- configure.orig 2004-09-20 06:16:48.000000000 +0000
+++ configure
@@ -18905,7 +18905,7 @@ OLD_LIBS=$LIBS
CPPFLAGS="$OLD_CPPFLAGS $with_db_inc"
LDFLAGS="$OLD_LDFLAGS $test_db_lib"
-for dbname in $with_db_name db db2 db3 db4
+for dbname in $with_db_name db db2 db3 db4 db5
do
as_ac_Lib=`echo "ac_cv_lib_$dbname''_db_open" | $as_tr_sh`
echo "$as_me:$LINENO: checking for db_open in -l$dbname" >&5
@@ -19253,7 +19253,9 @@ errno = db_open("foo.db", DB_BTREE, DB_C
#endif
if(errno) return errno;
-#if DB_VERSION >= 303011
+#if DB_VERSION >= 403000
+errno = dbp->stat(dbp, NULL, &sp, 0);
+#elif DB_VERSION >= 303011
errno = dbp->stat(dbp, &sp, 0);
#else
errno = dbp->stat(dbp, &sp, NULL, 0);

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ad,v 1.2 2009/11/24 11:15:14 obache Exp $
--- script/configure.in.orig 2004-09-20 06:16:48.000000000 +0000
+++ script/configure.in
@@ -203,7 +203,9 @@ errno = db_open("foo.db", DB_BTREE, DB_C
#endif
if(errno) return errno;
-#if DB_VERSION >= 303011
+#if DB_VERSION >= 403000
+errno = dbp->stat(dbp, NULL, &sp, 0);
+#elif DB_VERSION >= 303011
errno = dbp->stat(dbp, &sp, 0);
#else
errno = dbp->stat(dbp, &sp, NULL, 0);

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ae,v 1.2 2009/11/24 11:15:14 obache Exp $
--- src/tabe_tsidbint.c.orig 2004-01-24 20:14:55.000000000 +0000
+++ src/tabe_tsidbint.c
@@ -272,7 +272,9 @@ tabeTsiDBRecordNumber(struct TsiDB *tsid
switch(tsidb->type) {
case DB_TYPE_DB:
dbp = (DB *)tsidb->dbp;
-#if DB_VERSION >= 303011
+#if DB_VERSION >= 403000
+ errno = dbp->stat(dbp, NULL, &sp, 0);
+#elif DB_VERSION >= 303011
errno = dbp->stat(dbp, &sp, 0);
#else
errno = dbp->stat(dbp, &sp, NULL, 0);

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-af,v 1.2 2009/11/24 11:15:14 obache Exp $
--- src/tabe_tsiyindbint.c.orig 2004-01-24 20:14:55.000000000 +0000
+++ src/tabe_tsiyindbint.c
@@ -275,7 +275,9 @@ tabeTsiYinDBRecordNumber(struct TsiYinDB
switch(tsiyindb->type) {
case DB_TYPE_DB:
dbp = (DB *)tsiyindb->dbp;
-#if DB_VERSION >= 303011
+#if DB_VERSION >= 403000
+ errno = dbp->stat(dbp, NULL, &sp, 0);
+#elif DB_VERSION >= 303011
errno = dbp->stat(dbp, &sp, 0);
#else
errno = dbp->stat(dbp, &sp, NULL, 0);