Ticket #29162: Portfile.2

File Portfile.2, 1.7 KB (added by humem (humem), 13 years ago)
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$
3
4PortSystem          1.0
5
6name                yamcha
7version             0.33
8categories          science
9platforms           darwin
10maintainers         nomaintainer
11license             LGPL
12
13description         Yet Another Multipurpose CHunk Annotator
14long_description    YamCha is a generic, customizable, and open source text \
15                    chunker oriented toward a lot of NLP tasks, such as POS \
16                    tagging, Named Entity Recognition, base NP chunking, and \
17                    Text Chunking. YamCha is using a state-of-the-art machine \
18                    learning algorithm called Support Vector Machines (SVMs), \
19                    first introduced by Vapnik in 1995.
20
21homepage            http://www.chasen.org/~taku/software/yamcha/
22master_sites        ${homepage}/src/
23checksums           sha1    4ee6d8150557761f86fcb8af118636b7c23920c0 \
24                    rmd160  ac21fa16a45efa40775d426cd6229f612a7aa21e
25
26depends_lib         port:perl5 \
27                    port:tinysvm
28
29variant universal {}
30if {[variant_isset universal]} {
31    set archflags ${configure.universal_cxxflags}
32} else {
33    set archflags ${configure.cxx_archflags}
34}
35
36build.args          CXX="${configure.cxx} ${archflags}"
37
38test.run            yes
39test.target         check
40
41configure.args-append  --enable-shared=no \
42                       --mandir=${prefix}/share/man \
43                       --with-svm-learn=${prefix}
44                       
45livecheck.type      regex
46livecheck.url       ${master_sites}
47livecheck.regex     ${name}-(\[0-9.\]+)\\.