Ticket #11087: mecab.diff
File mecab.diff, 1.7 KB (added by rsky0711@…, 18 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 name mecab 5 version 0.9 25 version 0.93 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 2 091713 set sfj 21187 14 14 set sfj_dic 20904 15 15 set dic_name mecab-ipadic 16 16 set dic_version 2.7.0-20060707 … … 27 27 http://qgpop.dl.sourceforge.jp/mecab/${sfj_dic}/:ipadic 28 28 checksums \ 29 29 ${distname}${extract.suffix} \ 30 md5 381dd3e289647a2cf6df0a1f3e782609\31 sha1 74e1549c6334beb58a0423c25a8d430cb0ca7d2f\32 rmd160 07b1947c9695271d157a0caf924891dd74988e9c\30 md5 93ee80c5ea101c798e3954b19bd0088d \ 31 sha1 aa2f1701dda9358b48acc01f230444fe251835d6 \ 32 rmd160 ac55ce22fe3c1b90311043e505d6b6e1a2ee19f0 \ 33 33 ${dictionary}${extract.suffix} \ 34 34 md5 45b9f822700ad4eceb6722d6edcc2a46 \ 35 35 sha1 373be900f9be22957636acc54f120fea013f8818 \ … … 45 45 46 46 post-extract { 47 47 # Makefile.in (dictionary) 48 reinplace s|@MECAB_DICT_INDEX@|${destroot}${prefix}/libexec/mecab/mecab-dict-index|g\48 reinplace "s|@MECAB_DICT_INDEX@|${destroot}${prefix}/libexec/mecab/mecab-dict-index|g" \ 49 49 ${workpath}/${dictionary}/Makefile.in 50 50 } 51 51 … … 76 76 } 77 77 78 78 variant utf8 conflicts sjis utf8only { 79 set charset utf 879 set charset utf-8 80 80 } 81 81 82 82 variant utf8only conflicts sjis utf8 { 83 set charset utf 883 set charset utf-8 84 84 configure.args-append --enable-utf8-only 85 85 }