Commits

David B. Evans authored 365f845cb2d
mecab*, p5-mecab: new repository, update homepage, master_sites, livecheck

* homepage to http://taku910.github.io/mecab/ * master_sites to macports_distfiles:mecab * disable livecheck Closes: https://trac.macports.org/ticket/47338
No tags

java/mecab-java/Portfile

Modified
4 4
5 5 name mecab-java
6 6 version 0.996
7 7 epoch 1
8 8 categories java textproc japanese
9 9 maintainers nomaintainer
10 10
11 11 description a Java module for MeCab
12 12 long_description ${name} is ${description}.
13 13
14 -master_sites googlecode:mecab
14 +master_sites macports_distfiles:mecab
15 15 checksums rmd160 8f07939ab2114aa11549a432aa85e8a2c8c27099 \
16 16 sha256 9b8afa4176bc1d8b18392779a5cb1ee8ae338a8a9c70bbe389d0511bae8eb208
17 17
18 -homepage http://mecab.sourceforge.net/
18 +homepage http://taku910.github.io/mecab/
19 19 platforms darwin
20 20 license {GPL LGPL BSD}
21 21
22 22 dist_subdir mecab
23 23
24 24 depends_lib port:mecab-utf8
25 25
26 26 patchfiles patch-Makefile.diff \
27 27 patch-test.java.diff
28 28
53 53 xinstall -m 755 ${filespath}/test.sh \
54 54 ${destroot}${mecab_java_home}
55 55 reinplace "s|@java_library_path@|${prefix}/lib|g" ${destroot}${mecab_java_home}/test.sh
56 56 reinplace "s|@cp@|${mecab_java_home}:${mecab_jar}|g" ${destroot}${mecab_java_home}/test.sh
57 57 xinstall -m 644 ${worksrcpath}/MeCab.jar \
58 58 ${destroot}${mecab_jar}
59 59 xinstall -m 644 ${worksrcpath}/lib${name}.dylib \
60 60 ${destroot}${prefix}/lib
61 61 }
62 62
63 -livecheck.type regex
64 -livecheck.url http://code.google.com/p/mecab/downloads/list
65 -livecheck.regex {mecab-java-([\d\.]+)\.tar}
63 +livecheck.type none

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut