source: trunk/dports/textproc/knp/Portfile

Last change on this file was 138754, checked in by hum@…, 2 years ago

knp: update to 4.14

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 138754 2015-07-18 04:30:37Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                knp
7version             4.14
8categories          textproc japanese
9maintainers         hum openmaintainer
10
11description         Japanese Dependency and Case Structure Analyzer KNP
12long_description    ${description}. KN parser (Kurohashi-Nagao parser) which \
13                    detects dependency of Japanese sentences.
14
15homepage            http://nlp.ist.i.kyoto-u.ac.jp/index.php?KNP
16platforms           darwin
17license             BSD
18
19master_sites        http://nlp.ist.i.kyoto-u.ac.jp/nl-resource/knp/
20use_bzip2           yes
21checksums           rmd160  b00655b52b54364b0ea6088263e0e58281231ce6 \
22                    sha256  594cacefb1aff135273e2b1c60f29ff48d5b1109b6c2e6bbda322272985dc8a4
23
24patchfiles          patch-Makefile.in.diff
25
26depends_lib         port:juman \
27                    port:zlib \
28                    port:crfpp
29
30configure.args      --with-crf \
31                    --with-juman-prefix=${prefix}
32
33post-destroot {
34    set docdir ${prefix}/share/doc/${name}
35    xinstall -d ${destroot}${docdir}
36    xinstall -m 644 -W ${worksrcpath} \
37        AUTHORS COPYING ChangeLog README \
38        ${destroot}${docdir}
39}
40
41livecheck.type      regex
42livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.