Commits
David B. Evans authored 3ea6ddadc9c
3 3 | PortSystem 1.0 |
4 4 | PortGroup ruby 1.0 |
5 5 | |
6 6 | ruby.setup MeCab 0.996 extconf.rb {} |
7 7 | categories-append textproc japanese |
8 8 | maintainers nomaintainer |
9 9 | |
10 10 | description a Ruby module for MeCab |
11 11 | long_description ${description} |
12 12 | |
13 - | master_sites googlecode:mecab |
13 + | master_sites macports_distfiles:mecab |
14 14 | checksums rmd160 916fbe29716988936abf19be1728b184b0afc0a6 \ |
15 15 | sha256 b75e9731e717cec1c261a27d06c4f7baa696cf2fd4e5e3158df5f8fd65107285 |
16 16 | |
17 - | homepage http://mecab.sourceforge.net/ |
17 + | homepage http://taku910.github.io/mecab/ |
18 18 | platforms darwin |
19 19 | license {GPL LGPL BSD} |
20 20 | |
21 21 | distname mecab-ruby-${version} |
22 22 | dist_subdir mecab |
23 23 | |
24 24 | depends_lib-append path:bin/mecab-config:mecab-utf8 |
25 25 | |
26 26 | post-patch { |
27 27 | reinplace "s|\#!/usr/bin/ruby|\#!${ruby.bin}|g" \ |
28 28 | ${worksrcpath}/test.rb |
29 29 | } |
30 30 | |
31 31 | post-destroot { |
32 32 | set exdir ${destroot}${prefix}/share/doc/${name}/examples |
33 33 | xinstall -m 755 -d ${exdir} |
34 34 | xinstall -m 755 ${worksrcpath}/test.rb ${exdir} |
35 35 | } |
36 36 | |
37 - | livecheck.type regex |
38 - | livecheck.url http://code.google.com/p/mecab/downloads/list |
39 - | livecheck.regex {mecab-ruby-([\d\.]+)\.tar} |
37 + | livecheck.type none |