Ticket #12104: mecab-bindigs-Portfile.diff
File mecab-bindigs-Portfile.diff, 4.5 KB (added by rsky0711@…, 17 years ago) |
---|
-
python/py25-mecab/files/patch-test.py
1 --- test.py.orig 2007-06-10 23:32:44.000000000 +0900 2 +++ test.py 2007-06-11 13:35:17.000000000 +0900 3 @@ -1,4 +1,5 @@ 4 -#!/usr/bin/python 5 +#!%PREFIX%/bin/python 6 +# -*- coding:euc-jp -*- 7 8 import MeCab 9 import sys -
python/py25-mecab/Portfile
1 # $Id$ 2 3 PortSystem 1.0 4 PortGroup python25 1.0 5 name py25-mecab 6 version 0.96 7 8 platforms darwin 9 maintainers rsky0711@gmail.com 10 description a Python module for MeCab 11 long_description ${description} 12 13 homepage http://mecab.sourceforge.net/ 14 master_sites sourceforge:mecab 15 distname mecab-python-${version} 16 checksums md5 5faa154aa8a95145d6a58befa42e6c40 \ 17 sha1 53089465107a3b45b0b31a8bd69f654ea561a200 \ 18 rmd160 1f62a74d1673867a611de0ce9181ef011df67e46 19 20 patchfiles patch-test.py 21 patch.pre_args -p0 22 23 categories-append textproc japanese 24 depends_lib-append port:mecab 25 26 post-patch { 27 reinplace s|%PREFIX%/bin/python|${python.bin}|g ${worksrcpath}/test.py 28 } 29 30 post-destroot { 31 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples 32 xinstall -m 644 ${worksrcpath}/test.py \ 33 ${destroot}${prefix}/share/doc/${name}/examples 34 } -
python/py-mecab/Portfile
3 3 PortSystem 1.0 4 4 PortGroup python24 1.0 5 5 name py-mecab 6 version 0.9 56 version 0.96 7 7 8 8 platforms darwin 9 9 maintainers rsky0711@gmail.com … … 13 13 homepage http://mecab.sourceforge.net/ 14 14 master_sites sourceforge:mecab 15 15 distname mecab-python-${version} 16 checksums md5 8edf73b56d19b4caa8a80c4c7642e661\17 sha1 3b3b3daafecf76fc21650b1321a842941a179385\18 rmd160 f1755dd951dbacdfe605876a6cdb87c928d5353716 checksums md5 5faa154aa8a95145d6a58befa42e6c40 \ 17 sha1 53089465107a3b45b0b31a8bd69f654ea561a200 \ 18 rmd160 1f62a74d1673867a611de0ce9181ef011df67e46 19 19 20 20 patchfiles patch-test.py 21 21 patch.pre_args -p0 -
ruby/rb-mecab/Portfile
3 3 PortSystem 1.0 4 4 PortGroup ruby 1.0 5 5 6 ruby.setup MeCab 0.9 5extconf.rb {}6 ruby.setup MeCab 0.96 extconf.rb {} 7 7 8 8 platforms darwin 9 9 maintainers rsky0711@gmail.com … … 13 13 homepage http://mecab.sourceforge.net/ 14 14 master_sites sourceforge:mecab 15 15 distname mecab-ruby-${version} 16 checksums md5 33c5ea430d0a21868b170b2d09991d14\17 sha1 bf6f25bc8e2b614b219ff913cd18f9bb1f70e05b\18 rmd160 32437307471e3ee3583dc253691f83ba24ef895716 checksums md5 400479138d0cc1a7a4bf2af3e1bf581a \ 17 sha1 2831121ed5121802c3bc0cbeedee7a04563e3bfd \ 18 rmd160 bb0063b20162c0a6d02b529f9e451d8fe0e7b518 19 19 20 20 categories-append textproc japanese 21 21 depends_lib-append port:mecab -
perl/p5-mecab/Portfile
2 2 3 3 PortSystem 1.0 4 4 PortGroup perl5 1.0 5 perl5.setup MeCab 0.9 55 perl5.setup MeCab 0.96 6 6 7 7 platforms darwin 8 8 maintainers rsky0711@gmail.com … … 12 12 homepage http://mecab.sourceforge.net/ 13 13 master_sites sourceforge:mecab 14 14 distname mecab-perl-${version} 15 checksums md5 b924751bf58d7d6c4f3b6b5bbe8e1640\16 sha1 95f37327d46b341d9ccafd04eb25cc2094b71109\17 rmd160 0d1319e0d9f590214474fcd68f69a5e4993fa8ad15 checksums md5 ad3ab1ecd917cd765ec54009fcc62c0c \ 16 sha1 79eec3056690343a6286106cb3aedd7770208c43 \ 17 rmd160 2c614b1d78afd1cf783a8ad00af6e549d316f4b6 18 18 19 19 categories-append textproc japanese 20 20 depends_lib-append port:mecab