source: trunk/dports/textproc/KNBC/Portfile

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

New port: KNBC @1.0_090925 - Kyoto-University and NTT Blog Corpus.

  • 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 97974 2012-09-21 06:16:38Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                KNBC
7version             1.0_090925
8categories          textproc japanese
9maintainers         hum openmaintainer
10
11description         Kyoto-University and NTT Blog Corpus
12
13long_description    ${name} (${description}) is a blog corpus manually analyzed, \
14                    which consists of 249 articles (4,186 sentences).
15
16homepage            http://nlp.ist.i.kyoto-u.ac.jp/kuntt/
17platforms           darwin
18supported_archs     noarch
19license             Permissive
20
21master_sites        ${homepage}
22checksums           rmd160  95d2c0104a0a6be7896c322b564daf006d63dfd5 \
23                    sha256  eae5f629335f0a8f5651653429c3a491d9d9c221b2bbfa3b3289028c9a146747
24
25distname            ${name}_v${version}
26use_bzip2           yes
27
28use_configure       no
29
30build {}
31
32destroot {
33    file mkdir ${destroot}${prefix}/share/doc/${name}
34    xinstall -m 644 -W ${worksrcpath} \
35        README.txt manual.pdf \
36        ${destroot}${prefix}/share/doc/${name}
37    file mkdir ${destroot}${prefix}/share/${name}
38    foreach dir {corpus1 corpus2 html} {
39        copy ${worksrcpath}/${dir} ${destroot}${prefix}/share/${name}
40    }
41}
42
43livecheck.type      regex
44livecheck.url       ${homepage}
45livecheck.regex     {KNBC_v(\d+\.\d+_\d+)\.}
Note: See TracBrowser for help on using the repository browser.