source: trunk/dports/textproc/knp/Portfile @ 129930

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

knp: update to 4.12; add patch to prevent from installing crfpp files

  • 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 129930 2014-12-23 15:25:25Z hum@macports.org $
3
4PortSystem          1.0
5
6name                knp
7version             4.12
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  0593b46bd4152fa0ee2b129c86b556960c3e4244 \
22                    sha256  118469a132f28338939332d5e537a0f8885cb7f90f1374b6833528402401b77b
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.