Ticket #12100: mecab-ipadic-posid.diff
File mecab-ipadic-posid.diff, 8.4 KB (added by rsky0711@…, 17 years ago) |
---|
-
textproc/mecab-ipadic-eucjp/files/patch-Makefile.in
1 --- Makefile.in.orig 2007-06-10 20:16:38.000000000 +0900 2 +++ Makefile.in 2007-06-10 22:08:15.000000000 +0900 3 @@ -250,7 +250,7 @@ 4 5 6 @MECAB_GENDATA@: 7 - $(mecab_dict_index) -d . -o . -f EUC-JP -t @CHARSET@ 8 + $(mecab_dict_index) -d . -o . -p -f EUC-JP -t @CHARSET@ 9 echo To enable dictionary, rewrite @MECAB_MECABRC@ as \"dicrc = @MECAB_DICDIR@\" 10 11 rpm: dist -
textproc/mecab-ipadic-eucjp/Portfile
2 2 3 3 PortSystem 1.0 4 4 name mecab-ipadic-eucjp 5 version 2.7.0-200 607075 version 2.7.0-20070610 6 6 categories textproc japanese 7 7 maintainers rsky0711@gmail.com 8 8 platforms darwin … … 14 14 worksrcdir mecab-ipadic-${version} 15 15 set dicdir ipadic-eucjp 16 16 master_sites sourceforge:mecab 17 checksums md5 45b9f822700ad4eceb6722d6edcc2a46\18 sha1 373be900f9be22957636acc54f120fea013f8818\19 rmd160 cf2f7ad97e50cae6d0a9e9f13bc9328aeab3330417 checksums md5 948f283cfcafbd562317c79df147da68 \ 18 sha1 a79897d494b0dea4bc08d1da36134d9098a9bb6b \ 19 rmd160 d402f7b4eef1b169e1d49810987e79314a572d29 20 20 21 21 depends_lib port:mecab 22 22 23 patchfiles patch-Makefile.in 24 23 25 configure.args --with-mecab-config=${prefix}/bin/mecab-config \ 24 26 --with-charset=euc-jp \ 25 27 --with-dicdir=${prefix}/lib/mecab/dic/${dicdir} -
textproc/mecab-ipadic-utf8/files/patch-Makefile.in
1 --- Makefile.in.orig 2007-06-10 20:16:38.000000000 +0900 2 +++ Makefile.in 2007-06-10 22:08:15.000000000 +0900 3 @@ -250,7 +250,7 @@ 4 5 6 @MECAB_GENDATA@: 7 - $(mecab_dict_index) -d . -o . -f EUC-JP -t @CHARSET@ 8 + $(mecab_dict_index) -d . -o . -p -f EUC-JP -t @CHARSET@ 9 echo To enable dictionary, rewrite @MECAB_MECABRC@ as \"dicrc = @MECAB_DICDIR@\" 10 11 rpm: dist -
textproc/mecab-ipadic-utf8/Portfile
2 2 3 3 PortSystem 1.0 4 4 name mecab-ipadic-utf8 5 version 2.7.0-20060707 6 revision 1 5 version 2.7.0-20070610 7 6 categories textproc japanese 8 7 maintainers rsky0711@gmail.com 9 8 platforms darwin … … 15 14 worksrcdir mecab-ipadic-${version} 16 15 set dicdir ipadic-utf8 17 16 master_sites sourceforge:mecab 18 checksums md5 45b9f822700ad4eceb6722d6edcc2a46\19 sha1 373be900f9be22957636acc54f120fea013f8818\20 rmd160 cf2f7ad97e50cae6d0a9e9f13bc9328aeab3330417 checksums md5 948f283cfcafbd562317c79df147da68 \ 18 sha1 a79897d494b0dea4bc08d1da36134d9098a9bb6b \ 19 rmd160 d402f7b4eef1b169e1d49810987e79314a572d29 21 20 22 21 depends_lib port:mecab 23 22 23 patchfiles patch-Makefile.in 24 24 25 configure.args --with-mecab-config=${prefix}/bin/mecab-config \ 25 26 --with-charset=utf-8 \ 26 27 --with-dicdir=${prefix}/lib/mecab/dic/${dicdir} -
textproc/mecab-ipadic-sjis/files/patch-Makefile.in
1 --- Makefile.in.orig 2007-06-10 20:16:38.000000000 +0900 2 +++ Makefile.in 2007-06-10 22:08:15.000000000 +0900 3 @@ -250,7 +250,7 @@ 4 5 6 @MECAB_GENDATA@: 7 - $(mecab_dict_index) -d . -o . -f EUC-JP -t @CHARSET@ 8 + $(mecab_dict_index) -d . -o . -p -f EUC-JP -t @CHARSET@ 9 echo To enable dictionary, rewrite @MECAB_MECABRC@ as \"dicrc = @MECAB_DICDIR@\" 10 11 rpm: dist -
textproc/mecab-ipadic-sjis/Portfile
2 2 3 3 PortSystem 1.0 4 4 name mecab-ipadic-sjis 5 version 2.7.0-200 607075 version 2.7.0-20070610 6 6 categories textproc japanese 7 7 maintainers rsky0711@gmail.com 8 8 platforms darwin … … 14 14 worksrcdir mecab-ipadic-${version} 15 15 set dicdir ipadic-sjis 16 16 master_sites sourceforge:mecab 17 checksums md5 45b9f822700ad4eceb6722d6edcc2a46\18 sha1 373be900f9be22957636acc54f120fea013f8818\19 rmd160 cf2f7ad97e50cae6d0a9e9f13bc9328aeab3330417 checksums md5 948f283cfcafbd562317c79df147da68 \ 18 sha1 a79897d494b0dea4bc08d1da36134d9098a9bb6b \ 19 rmd160 d402f7b4eef1b169e1d49810987e79314a572d29 20 20 21 21 depends_lib port:mecab 22 22 23 patchfiles patch-Makefile.in 24 23 25 configure.args --with-mecab-config=${prefix}/bin/mecab-config \ 24 26 --with-charset=shift_jis \ 25 27 --with-dicdir=${prefix}/lib/mecab/dic/${dicdir} -
textproc/mecab/files/patch-ipadic-Makefile.in
1 --- Makefile.in.orig 2007-06-10 20:16:38.000000000 +0900 2 +++ Makefile.in 2007-06-10 22:08:15.000000000 +0900 3 @@ -250,7 +250,7 @@ 4 5 6 @MECAB_GENDATA@: 7 - $(mecab_dict_index) -d . -o . -f EUC-JP -t @CHARSET@ 8 + $(mecab_dict_index) -d . -o . -p -f EUC-JP -t @CHARSET@ 9 echo To enable dictionary, rewrite @MECAB_MECABRC@ as \"dicrc = @MECAB_DICDIR@\" 10 11 rpm: dist -
textproc/mecab/Portfile
3 3 PortSystem 1.0 4 4 name mecab 5 5 version 0.95 6 revision 1 6 7 categories textproc japanese 7 8 maintainers rsky0711@gmail.com 8 9 platforms darwin … … 11 12 homepage http://mecab.sourceforge.net/ 12 13 13 14 set dic_name mecab-ipadic 14 set dic_version 2.7.0-200 6070715 set dic_version 2.7.0-20070610 15 16 set dictionary ${dic_name}-${dic_version} 16 17 set charset euc-jp 17 18 … … 24 25 sha1 676af69b652393e3fdbb58ddf99b9aae13a87c4a \ 25 26 rmd160 bd8393ddae802fc98a999dd68f25564e8317f5c0 \ 26 27 ${dictionary}${extract.suffix} \ 27 md5 45b9f822700ad4eceb6722d6edcc2a46\28 sha1 373be900f9be22957636acc54f120fea013f8818\29 rmd160 cf2f7ad97e50cae6d0a9e9f13bc9328aeab3330428 md5 948f283cfcafbd562317c79df147da68 \ 29 sha1 a79897d494b0dea4bc08d1da36134d9098a9bb6b \ 30 rmd160 d402f7b4eef1b169e1d49810987e79314a572d29 30 31 31 32 depends_lib port:libiconv 32 33 … … 43 44 44 45 post-destroot { 45 46 system "cd ${workpath}/${dictionary}; \ 47 patch < ${portpath}/${filesdir}/patch-ipadic-Makefile.in; \ 46 48 ./configure \ 47 49 --with-mecab-config=${destroot}${prefix}/bin/mecab-config \ 48 50 --with-charset=${charset} && \ … … 60 62 61 63 platform darwin 8 { 62 64 configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4 \ 63 CC=/usr/bin/gcc-4.0 C XX=/usr/bin/g++-4.065 CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 64 66 } 65 67 66 variant sjis conflicts utf8 utf8only {68 variant sjis conflicts utf8 utf8only description {Set default dictionary encoding to Shift_JIS (default is EUC-JP)} { 67 69 set charset shift_jis 68 70 } 69 71 70 variant utf8 conflicts sjis utf8only {72 variant utf8 conflicts sjis utf8only description {Set default dictionary encoding to UTF-8 (default is EUC-JP)} { 71 73 set charset utf-8 72 74 } 73 75 74 variant utf8only conflicts sjis utf8 {76 variant utf8only conflicts sjis utf8 description {Set default dictionary encoding to UTF-8 and build to UTF-8 only} { 75 77 set charset utf-8 76 78 configure.args-append --enable-utf8-only 77 79 }