Ignore:
Timestamp:
Nov 24, 2013, 4:23:32 PM (6 years ago)
Author:
hum@…
Message:

mecab-naist-jdic: define subports for sjis and utf8; delete mecab-naist-jdic-sjis and mecab-naist-jdic-utf8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/mecab-naist-jdic/Portfile

    r100501 r113833  
    55
    66set dicname         naist-jdic
    7 set encoding        eucjp
    87name                mecab-${dicname}
    98version             0.6.3b-20111013
    109categories          textproc japanese
    1110maintainers         hum openmaintainer
     11
     12set encoding        eucjp
     13
     14subport mecab-${dicname}-sjis {
     15    set encoding    sjis
     16    set charset     sjis
     17    configure.post_args  --with-charset=${charset}
     18    livecheck.type  none
     19}
     20
     21subport mecab-${dicname}-utf8 {
     22    set encoding    utf8
     23    set charset     utf-8
     24    configure.post_args  --with-charset=${charset}
     25    livecheck.type  none
     26}
    1227
    1328description         ${dicname} of ${encoding} encoding for MeCab
     
    2944
    3045supported_archs     noarch
     46
    3147configure.args      --with-mecab-config=${prefix}/bin/mecab-config \
    3248                    --with-dicdir=${prefix}/lib/mecab/dic/${dicname}-${encoding}
Note: See TracChangeset for help on using the changeset viewer.