source: trunk/dports/python/py-mecab/Portfile @ 18656

Last change on this file since 18656 was 18656, checked in by takanori, 14 years ago

Version bumped to 0.92.
Bug: 9990
Submitted by: rsky0711@…

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.4 2006/07/19 09:02:16 takanori Exp $
2
3PortSystem      1.0
4PortGroup       python24 1.0
5name            py-mecab
6version         0.92
7
8platforms       darwin
9maintainers     rsky0711@gmail.com
10description     a Python module for MeCab
11long_description ${description}
12
13homepage        http://mecab.sourceforge.jp/
14set sfj         20921
15master_sites    http://osdn.dl.sourceforge.jp/mecab/${sfj}/ \
16                http://keihanna.dl.sourceforge.jp/mecab/${sfj}/ \
17                http://qgpop.dl.sourceforge.jp/mecab/${sfj}/
18distname        mecab-python-${version}
19checksums       md5    6e4364f65e12138a25481b8cd945ccb8 \
20                sha1   bab73b6bfc842e615856090a8fcbd7206fcd2dc4 \
21                rmd160 72f6362d9be56f1ffa42847de0b15cf57338cd11
22
23patchfiles      patch-test.py
24patch.pre_args  -p0
25
26categories-append   textproc japanese
27depends_lib-append  port:mecab
28
29post-patch {
30    reinplace s|%PREFIX%/bin/python|${python.bin}|g ${worksrcpath}/test.py
31}
32
33post-destroot {
34    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
35    xinstall -m 644 ${worksrcpath}/test.py \
36        ${destroot}${prefix}/share/doc/${name}/examples
37}
Note: See TracBrowser for help on using the repository browser.