# $Id: Portfile,v 1.4 2006/07/19 09:02:16 takanori Exp $ PortSystem 1.0 PortGroup python24 1.0 name py-mecab version 0.92 platforms darwin maintainers rsky0711@gmail.com description a Python module for MeCab long_description ${description} homepage http://mecab.sourceforge.jp/ set sfj 20921 master_sites http://osdn.dl.sourceforge.jp/mecab/${sfj}/ \ http://keihanna.dl.sourceforge.jp/mecab/${sfj}/ \ http://qgpop.dl.sourceforge.jp/mecab/${sfj}/ distname mecab-python-${version} checksums md5 6e4364f65e12138a25481b8cd945ccb8 \ sha1 bab73b6bfc842e615856090a8fcbd7206fcd2dc4 \ rmd160 72f6362d9be56f1ffa42847de0b15cf57338cd11 patchfiles patch-test.py patch.pre_args -p0 categories-append textproc japanese depends_lib-append port:mecab post-patch { reinplace s|%PREFIX%/bin/python|${python.bin}|g ${worksrcpath}/test.py } post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples xinstall -m 644 ${worksrcpath}/test.py \ ${destroot}${prefix}/share/doc/${name}/examples }