source: trunk/dports/textproc/kytea/Portfile @ 118291

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

kytea: fix livecheck.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 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 118291 2014-03-29 11:34:32Z hum@macports.org $
3
4PortSystem          1.0
5
6name                kytea
7version             0.4.6
8revision            1
9categories          textproc japanese
10maintainers         hum openmaintainer
11
12description         a word segmentation/pronunciation estimation tool
13long_description    Kyoto Text Analysis Toolkit (KyTea, pronounced \"cutie\") is \
14                    a general toolkit developed for analyzing text, with a focus \
15                    on Japanese, Chinese and other languages requiring word or \
16                    morpheme segmentation.
17
18homepage            http://www.phontron.com/kytea/
19platforms           darwin
20license             Apache-2
21
22# 0.4.6 silent update
23dist_subdir   ${name}/${version}_1
24
25master_sites        ${homepage}download/
26checksums           rmd160  c353eb5143cfaf0a3b3f310a3211adc5f4aa548a \
27                    sha256  4327bd1124e546121354516e784b2dc01a62a36740b26a7c6d44350c2442cd58
28
29post-destroot {
30    set docdir ${prefix}/share/doc/${name}
31    xinstall -d ${destroot}${docdir}
32    xinstall -m 644 -W ${worksrcpath} \
33        AUTHORS COPYING ChangeLog NEWS README \
34        ${destroot}${docdir}
35}
36
37livecheck.type      regex
38livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.