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

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 948 bytes
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem      1.0
4PortGroup       python24 1.0
5name            py-mecab
6version         0.96
7
8platforms       darwin
9maintainers     gmail.com:rsky0711
10description     a Python module for MeCab
11long_description ${description}
12
13homepage        http://mecab.sourceforge.net/
14master_sites    sourceforge:mecab
15distname        mecab-python-${version}
16checksums       md5    5faa154aa8a95145d6a58befa42e6c40 \
17                sha1   53089465107a3b45b0b31a8bd69f654ea561a200 \
18                rmd160 1f62a74d1673867a611de0ce9181ef011df67e46
19
20patchfiles      patch-test.py
21patch.pre_args  -p0
22
23categories-append   textproc japanese
24depends_lib-append  port:mecab
25
26post-patch {
27    reinplace s|%PREFIX%/bin/python|${python.bin}|g ${worksrcpath}/test.py
28}
29
30post-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}
Note: See TracBrowser for help on using the repository browser.