Permalink
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (31 sloc) 1.36 KB
# -*- 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
PortSystem 1.0
name knp
version 4.14
categories textproc japanese
maintainers nomaintainer
description Japanese Dependency and Case Structure Analyzer KNP
long_description ${description}. KN parser (Kurohashi-Nagao parser) which \
detects dependency of Japanese sentences.
homepage http://nlp.ist.i.kyoto-u.ac.jp/index.php?KNP
platforms darwin
license BSD
master_sites http://nlp.ist.i.kyoto-u.ac.jp/nl-resource/knp/
use_bzip2 yes
checksums rmd160 b00655b52b54364b0ea6088263e0e58281231ce6 \
sha256 594cacefb1aff135273e2b1c60f29ff48d5b1109b6c2e6bbda322272985dc8a4
patchfiles patch-Makefile.in.diff
depends_lib port:juman \
port:zlib \
port:crfpp
configure.args --with-crf \
--with-juman-prefix=${prefix}
post-destroot {
set docdir ${prefix}/share/doc/${name}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} \
AUTHORS COPYING ChangeLog README \
${destroot}${docdir}
}
livecheck.type regex
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"