diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2009-12-18 05:06:18 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2009-12-18 05:06:18 +0000 |
commit | bdf99ce26e27ed6bbbacaba5b92767c557629919 (patch) | |
tree | efb344b5e27322f4c1457918c3d2ecfc76f3834b /chinese | |
parent | 7bf005cd3e87946c38f8e1d069b676657919c4cf (diff) | |
download | ports-bdf99ce26e27ed6bbbacaba5b92767c557629919.tar.gz ports-bdf99ce26e27ed6bbbacaba5b92767c557629919.zip |
Notes
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/libchewing/Makefile | 4 | ||||
-rw-r--r-- | chinese/libchewing/distinfo | 6 | ||||
-rw-r--r-- | chinese/libchewing/files/patch-configure | 10 | ||||
-rw-r--r-- | chinese/libchewing/files/patch-src-char.c | 11 | ||||
-rw-r--r-- | chinese/libchewing/files/patch-src-dict.c | 11 | ||||
-rw-r--r-- | chinese/libchewing/pkg-plist | 12 |
6 files changed, 9 insertions, 45 deletions
diff --git a/chinese/libchewing/Makefile b/chinese/libchewing/Makefile index 186f80228278..ab3aef166ea8 100644 --- a/chinese/libchewing/Makefile +++ b/chinese/libchewing/Makefile @@ -6,8 +6,7 @@ # PORTNAME= libchewing -PORTVERSION= 0.3.0 -PORTREVISION= 1 +PORTVERSION= 0.3.2 CATEGORIES= chinese textproc MASTER_SITES= http://chewing.csie.net/download/libchewing/ @@ -17,6 +16,7 @@ COMMENT= The Chewing intelligent phonetic input method library USE_GNOME= gnomehack pkgconfig GNU_CONFIGURE= yes USE_LDCONFIG= yes +USE_BZIP2= yes DATADIR= ${PREFIX}/share/chewing diff --git a/chinese/libchewing/distinfo b/chinese/libchewing/distinfo index 44eb6eaf7428..bdf8dbaa4fd6 100644 --- a/chinese/libchewing/distinfo +++ b/chinese/libchewing/distinfo @@ -1,3 +1,3 @@ -MD5 (libchewing-0.3.0.tar.gz) = d60bdc2b3f81b70963cd01a93049a8e3 -SHA256 (libchewing-0.3.0.tar.gz) = f7247eb82af9ba67c03964153a6df3694568358d9161c4a60b03aec5c1f0d98c -SIZE (libchewing-0.3.0.tar.gz) = 2172069 +MD5 (libchewing-0.3.2.tar.bz2) = ef70745ffdf199aa17e533427c63499f +SHA256 (libchewing-0.3.2.tar.bz2) = 056327f562b4cc2b95f7c5bb409398c0dfe58f3b5b6861bc6d2768776e170f15 +SIZE (libchewing-0.3.2.tar.bz2) = 1802842 diff --git a/chinese/libchewing/files/patch-configure b/chinese/libchewing/files/patch-configure deleted file mode 100644 index 8897dd6f1865..000000000000 --- a/chinese/libchewing/files/patch-configure +++ /dev/null @@ -1,10 +0,0 @@ ---- configure.orig Mon Aug 8 23:54:12 2005 -+++ configure Mon Feb 6 14:36:19 2006 -@@ -24667,6 +24667,7 @@ - s,@LIBOBJS@,$LIBOBJS,;t t - s,@LIBDEBUG@,$LIBDEBUG,;t t - s,@LTLIBOBJS@,$LTLIBOBJS,;t t -+s,@LIBTOOL_EXPORT_OPTIONS@,$LIBTOOL_EXPORT_OPTIONS,;t t - CEOF - - _ACEOF diff --git a/chinese/libchewing/files/patch-src-char.c b/chinese/libchewing/files/patch-src-char.c deleted file mode 100644 index 353fd37bd874..000000000000 --- a/chinese/libchewing/files/patch-src-char.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/char.c.orig Mon May 15 14:49:43 2006 -+++ src/char.c Sun May 21 00:14:41 2006 -@@ -126,7 +126,7 @@ - - fgettab( buf, 1000, dictfile ); - /* only read 6 bytes to wrd_ptr->word avoid buffer overflow */ -- sscanf( buf, "%hu %6s", &sh, wrd_ptr->word ); -+ sscanf( buf, "%hu %6[^ ]", &sh, wrd_ptr->word ); - assert( wrd_ptr->word != NULL ); - } - diff --git a/chinese/libchewing/files/patch-src-dict.c b/chinese/libchewing/files/patch-src-dict.c deleted file mode 100644 index 5b24125c8016..000000000000 --- a/chinese/libchewing/files/patch-src-dict.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/dict.c.orig Mon May 15 14:49:43 2006 -+++ src/dict.c Sun May 21 00:14:29 2006 -@@ -101,7 +101,7 @@ - char buf[ 1000 ]; - - fgettab( buf, 1000, dictfile ); -- sscanf( buf, "%s %d", phr_ptr->phrase, &( phr_ptr->freq ) ); -+ sscanf( buf, "%[^ ] %d", phr_ptr->phrase, &( phr_ptr->freq ) ); - } - - int GetPhraseFirst( Phrase *phr_ptr, int phone_phr_id ) diff --git a/chinese/libchewing/pkg-plist b/chinese/libchewing/pkg-plist index dfd251b667d6..56000a532d32 100644 --- a/chinese/libchewing/pkg-plist +++ b/chinese/libchewing/pkg-plist @@ -1,24 +1,20 @@ -include/chewing/char.h include/chewing/chewing.h include/chewing/chewingio.h -include/chewing/chewing-utf8-util.h -include/chewing/dict.h include/chewing/global.h -include/chewing/hanyupinyin.h -include/chewing/hash.h include/chewing/mod_aux.h -include/chewing/userphrase.h -include/chewing/zuin.h lib/libchewing.a lib/libchewing.la lib/libchewing.so lib/libchewing.so.3 libdata/pkgconfig/chewing.pc -%%DATADIR%%/ch_index.dat +%%DATADIR%%/ch_index_begin.dat +%%DATADIR%%/ch_index_phone.dat %%DATADIR%%/dict.dat %%DATADIR%%/fonetree.dat %%DATADIR%%/ph_index.dat %%DATADIR%%/pinyin.tab +%%DATADIR%%/swkb.dat +%%DATADIR%%/symbols.dat %%DATADIR%%/us_freq.dat @dirrm include/chewing @dirrm %%DATADIR%% |