source: trunk/dports/textproc/mecab-sjis/Portfile @ 103265

Last change on this file since 103265 was 103265, checked in by hum@…, 7 years ago

mecab,mecab-{base,sjis,utf8,java},{p5,py,rb,rb19}-mecab: update to 0.996.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 103265 2013-02-19 15:25:57Z hum@macports.org $
3
4PortSystem          1.0
5
6set encoding        sjis
7name                mecab-${encoding}
8version             0.996
9categories          textproc japanese
10maintainers         hum gmail.com:rsky0711 openmaintainer
11
12description         yet another part-of-speech and morphological analyzer
13long_description    MeCab is ${description}. \
14                    This port depends on MeCab base analyzer and a Japanese \
15                    dictionary of ${encoding} encoding.
16
17homepage            http://mecab.sourceforge.net/
18platforms           darwin
19license             {GPL LGPL BSD}
20
21dist_subdir         mecab
22distfiles
23
24depends_lib         port:mecab-base
25
26conflicts           mecab mecab-utf8
27
28use_configure       no
29supported_archs     noarch
30
31build               {}
32
33set dicname         ipadic
34
35if {![variant_isset jumandic] && ![variant_isset naistjdic]} {
36    default_variants    +ipadic
37}
38
39variant ipadic conflicts jumandic naistjdic description {Use ipadic} {
40    set dicname         ipadic
41    depends_lib-append  port:mecab-${dicname}-${encoding}
42}
43
44variant jumandic conflicts ipadic naistjdic description {Use jumandic} {
45    set dicname         jumandic
46    depends_lib-append  port:mecab-${dicname}-${encoding}
47}
48
49variant naistjdic conflicts ipadic jumandic description {Use naist-jdic} {
50    set dicname         naist-jdic
51    depends_lib-append  port:mecab-${dicname}-${encoding}
52}
53
54destroot {
55    set dest_dic ${destroot}${prefix}/lib/mecab/dic
56    file mkdir ${dest_dic}
57    ln -s ${dicname}-${encoding} ${dest_dic}/sysdic
58}
59
60livecheck.type      none
Note: See TracBrowser for help on using the repository browser.