diff -Naru mecab-0.91/perl/p5-mecab/Portfile mecab-0.92/perl/p5-mecab/Portfile
old
|
new
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup perl5 1.0 |
5 | | perl5.setup MeCab 0.91 |
| 5 | perl5.setup MeCab 0.92 |
6 | 6 | |
7 | 7 | platforms darwin |
8 | 8 | maintainers rsky0711@gmail.com |
… |
… |
|
10 | 10 | long_description ${description} |
11 | 11 | |
12 | 12 | homepage http://mecab.sourceforge.jp/ |
13 | | set sfj 20029 |
| 13 | set sfj 20919 |
14 | 14 | master_sites http://osdn.dl.sourceforge.jp/mecab/${sfj}/ \ |
15 | 15 | http://keihanna.dl.sourceforge.jp/mecab/${sfj}/ \ |
16 | 16 | http://qgpop.dl.sourceforge.jp/mecab/${sfj}/ |
17 | 17 | distname mecab-perl-${version} |
18 | | checksums md5 b12f57c99790360263c7c80e34013890 \ |
19 | | sha1 1eca4f815cadecc53015045da07349b08d71b691 \ |
20 | | rmd160 7051e58c799707b822d9117968ae6b2cced28f14 |
| 18 | checksums md5 6a066597bb3edbcd8a34931fa00f52bd \ |
| 19 | sha1 51cad405b9cebba30e0c6d0084126886c5986eaf \ |
| 20 | rmd160 2e8381c4cea23e9d3332dacb4cf6e6673941e508 |
21 | 21 | |
22 | 22 | categories-append textproc japanese |
23 | 23 | depends_lib-append port:mecab |
diff -Naru mecab-0.91/python/py-mecab/Portfile mecab-0.92/python/py-mecab/Portfile
old
|
new
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup python24 1.0 |
5 | 5 | name py-mecab |
6 | | version 0.91 |
| 6 | version 0.92 |
7 | 7 | |
8 | 8 | platforms darwin |
9 | 9 | maintainers rsky0711@gmail.com |
… |
… |
|
11 | 11 | long_description ${description} |
12 | 12 | |
13 | 13 | homepage http://mecab.sourceforge.jp/ |
14 | | set sfj 20031 |
| 14 | set sfj 20921 |
15 | 15 | master_sites http://osdn.dl.sourceforge.jp/mecab/${sfj}/ \ |
16 | 16 | http://keihanna.dl.sourceforge.jp/mecab/${sfj}/ \ |
17 | 17 | http://qgpop.dl.sourceforge.jp/mecab/${sfj}/ |
18 | 18 | distname mecab-python-${version} |
19 | | checksums md5 a3084298d2537116ac63be73ba83995a \ |
20 | | sha1 352479aa7d12852cdc942166572d7a31aafc3b7a \ |
21 | | rmd160 0fbfdc813e3e1de4bd7c08d11f9bc07c7475fcff |
| 19 | checksums md5 6e4364f65e12138a25481b8cd945ccb8 \ |
| 20 | sha1 bab73b6bfc842e615856090a8fcbd7206fcd2dc4 \ |
| 21 | rmd160 72f6362d9be56f1ffa42847de0b15cf57338cd11 |
22 | 22 | |
23 | 23 | patchfiles patch-test.py |
24 | 24 | patch.pre_args -p0 |
diff -Naru mecab-0.91/ruby/rb-mecab/Portfile mecab-0.92/ruby/rb-mecab/Portfile
old
|
new
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup ruby 1.0 |
5 | 5 | |
6 | | ruby.setup MeCab 0.91 extconf.rb {} |
| 6 | ruby.setup MeCab 0.92 extconf.rb {} |
7 | 7 | |
8 | 8 | platforms darwin |
9 | 9 | maintainers rsky0711@gmail.com |
… |
… |
|
11 | 11 | long_description ${description} |
12 | 12 | |
13 | 13 | homepage http://mecab.sourceforge.jp/ |
14 | | set sfj 20030 |
| 14 | set sfj 20920 |
15 | 15 | master_sites http://osdn.dl.sourceforge.jp/mecab/${sfj}/ \ |
16 | 16 | http://keihanna.dl.sourceforge.jp/mecab/${sfj}/ \ |
17 | 17 | http://qgpop.dl.sourceforge.jp/mecab/${sfj}/ |
18 | 18 | distname mecab-ruby-${version} |
19 | | checksums md5 06885530629b8bb591787bf66d81a14e \ |
20 | | sha1 bf6836a7f12260cc90d11204cc5cc17d2e2df87c \ |
21 | | rmd160 338c88d7e42a5923afdfe0e02c8297f608250086 |
| 19 | checksums md5 a39d34da7a55444c7e8c5e5fcbcc527e \ |
| 20 | sha1 5ad35d667380e93eba3b1822d899dfd5e40e5ae9 \ |
| 21 | rmd160 2b804e24ff5118fd5d99f2c3e1a0d488ab025777 |
22 | 22 | |
23 | 23 | categories-append textproc japanese |
24 | 24 | depends_lib-append port:mecab |
diff -Naru mecab-0.91/textproc/mecab/Portfile mecab-0.92/textproc/mecab/Portfile
old
|
new
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | name mecab |
5 | | version 0.91 |
| 5 | version 0.92 |
6 | 6 | categories textproc japanese |
7 | 7 | maintainers rsky0711@gmail.com |
8 | 8 | platforms darwin |
… |
… |
|
10 | 10 | long_description ${description} |
11 | 11 | homepage http://mecab.sourceforge.jp/ |
12 | 12 | |
13 | | set sfj 20027 |
14 | | set sfj_dic 19691 |
| 13 | set sfj 20917 |
| 14 | set sfj_dic 20904 |
15 | 15 | set dic_name mecab-ipadic |
16 | | set dic_version 2.7.0-20060408 |
| 16 | set dic_version 2.7.0-20060707 |
17 | 17 | set dictionary ${dic_name}-${dic_version} |
18 | 18 | set charset euc-jp |
19 | 19 | |
… |
… |
|
27 | 27 | http://qgpop.dl.sourceforge.jp/mecab/${sfj_dic}/:ipadic |
28 | 28 | checksums \ |
29 | 29 | ${distname}${extract.suffix} \ |
30 | | md5 38775e8f0db0487a979e9704bba5b2d7 \ |
31 | | sha1 48321762cbad78c26e95a314c549c3da783e4074 \ |
32 | | rmd160 372ae09359c0cac9d191aefc25152b5f696dbea0 \ |
| 30 | md5 381dd3e289647a2cf6df0a1f3e782609 \ |
| 31 | sha1 74e1549c6334beb58a0423c25a8d430cb0ca7d2f \ |
| 32 | rmd160 07b1947c9695271d157a0caf924891dd74988e9c \ |
33 | 33 | ${dictionary}${extract.suffix} \ |
34 | | md5 0d388c7c7731b89fec470dd6d9d2960f \ |
35 | | sha1 15a266520f0ad6aac022148bb4423ac7c8c35d93 \ |
36 | | rmd160 7046e3edbeb358b4347ef4aa3e6dfeeb26468901 |
| 34 | md5 45b9f822700ad4eceb6722d6edcc2a46 \ |
| 35 | sha1 373be900f9be22957636acc54f120fea013f8818 \ |
| 36 | rmd160 cf2f7ad97e50cae6d0a9e9f13bc9328aeab33304 |
37 | 37 | |
38 | | depends_lib port:perl5.8 |
| 38 | depends_lib port:libiconv |
39 | 39 | |
40 | | patchfiles patch-src-tokenizer_cpp.diff |
41 | | patch.pre_args -p0 |
| 40 | patchfiles patch-configure.diff |
42 | 41 | |
43 | 42 | configure.args --mandir=${prefix}/share/man \ |
44 | | --with-perl5=${prefix}/bin/perl |
| 43 | --with-libiconv-prefix=${prefix} |
| 44 | configure.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib" |
45 | 45 | |
46 | 46 | post-extract { |
47 | | reinplace s|`\$MECAB_CONFIG\ --libexecdir`|${destroot}${prefix}/libexec/mecab|g \ |
48 | | ${workpath}/${dictionary}/configure |
| 47 | # Makefile.in (dictionary) |
| 48 | reinplace s|@MECAB_DICT_INDEX@|${destroot}${prefix}/libexec/mecab/mecab-dict-index|g \ |
| 49 | ${workpath}/${dictionary}/Makefile.in |
49 | 50 | } |
50 | 51 | |
51 | 52 | post-destroot { |
… |
… |
|
62 | 63 | } |
63 | 64 | |
64 | 65 | platform darwin 7 { |
65 | | configure.env MACOSX_DEPLOYMENT_TARGET=10.3 |
| 66 | configure.env-append MACOSX_DEPLOYMENT_TARGET=10.3 |
66 | 67 | } |
67 | 68 | |
68 | 69 | platform darwin 8 { |
69 | | configure.env MACOSX_DEPLOYMENT_TARGET=10.4 \ |
70 | | CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0 |
| 70 | configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4 \ |
| 71 | CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0 |
71 | 72 | } |
72 | 73 | |
73 | 74 | variant sjis conflicts utf8 utf8only { |
diff -Naru mecab-0.91/textproc/mecab/files/patch-configure.diff mecab-0.92/textproc/mecab/files/patch-configure.diff
old
|
new
|
|
| 1 | --- configure.orig Mon Jul 10 14:31:58 2006 |
| 2 | +++ configure Tue Jul 18 06:55:29 2006 |
| 3 | @@ -23882,7 +23882,7 @@ |
| 4 | echo "$as_me: failed program was:" >&5 |
| 5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 6 | |
| 7 | -ac_cv_lib_iconv_iconv_open=no |
| 8 | +ac_cv_lib_iconv_iconv_open=yes |
| 9 | fi |
| 10 | rm -f conftest.err conftest.$ac_objext \ |
| 11 | conftest$ac_exeext conftest.$ac_ext |
diff -Naru mecab-0.91/textproc/mecab/files/patch-src-tokenizer_cpp.diff mecab-0.92/textproc/mecab/files/patch-src-tokenizer_cpp.diff
old
|
new
|
|
1 | | --- src/tokenizer.cpp.orig 2006-02-08 05:08:48.000000000 +0900 |
2 | | +++ src/tokenizer.cpp 2006-05-07 20:08:59.000000000 +0900 |
3 | | @@ -248,6 +248,7 @@ |
4 | | } |
5 | | |
6 | | for (size_t i = 1; i <= cinfo.length; ++i) { |
7 | | + if (begin3 > end) break; |
8 | | if (begin3 == group_begin3) continue; |
9 | | ADDUNKNWON; |
10 | | if (! cinfo.isKindOf (property_.getCharInfo (begin3, end, mblen))) break; |