Changeset 113818


Ignore:
Timestamp:
Nov 24, 2013, 11:13:36 AM (6 years ago)
Author:
hum@…
Message:

mecab-base: install doc and examples according to the standard file hierarchy; clean up livecheck; update maintainers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/mecab-base/Portfile

    r103265 r113818  
    66name                mecab-base
    77version             0.996
     8revision            1
    89categories          textproc japanese
    9 maintainers         hum gmail.com:rsky0711 openmaintainer
     10maintainers         hum openmaintainer
    1011
    1112description         yet another part-of-speech and morphological analyzer
     
    3334test.target         check
    3435
    35 set dest_mecab      ${destroot}${prefix}/share/mecab
    36 set dest_doc        ${dest_mecab}/doc
    37 set dest_example    ${dest_mecab}/example
    38 
    3936post-destroot {
    4037    # set the default dictionary path to sysdic.
    4138    reinplace s|ipadic|sysdic| ${destroot}${prefix}/etc/mecabrc
    4239
    43     # install doc and example.
    44     file mkdir ${dest_doc}
     40    # install additional documents.
     41    set dest_doc ${destroot}${prefix}/share/doc/mecab
     42    xinstall -d ${dest_doc}
    4543    eval xinstall -m 644 [glob ${worksrcpath}/doc/*.html] ${dest_doc}
    4644    eval xinstall -m 644 [glob ${worksrcpath}/doc/*.png]  ${dest_doc}
     
    4846    copy ${worksrcpath}/doc/doxygen ${dest_doc}
    4947    copy ${worksrcpath}/doc/en      ${dest_doc}
    50     copy ${worksrcpath}/example     ${dest_example}
     48
     49    # install examples.
     50    set dest_ex  ${destroot}${prefix}/share/examples
     51    xinstall -d ${dest_ex}
     52    copy ${worksrcpath}/example     ${dest_ex}/mecab
    5153}
    5254
     
    7678    }
    7779}
    78 
    79 livecheck.type      regex
    80 livecheck.url       http://code.google.com/p/mecab/downloads/list
    81 livecheck.regex     {mecab-([\d\.]+)\.tar}
Note: See TracChangeset for help on using the changeset viewer.