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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name yamcha |
---|
7 | version 0.33 |
---|
8 | categories science |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer |
---|
11 | license LGPL |
---|
12 | |
---|
13 | description Yet Another Multipurpose CHunk Annotator |
---|
14 | long_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 | |
---|
21 | homepage http://www.chasen.org/~taku/software/yamcha/ |
---|
22 | master_sites ${homepage}/src/ |
---|
23 | checksums sha1 4ee6d8150557761f86fcb8af118636b7c23920c0 \ |
---|
24 | rmd160 ac21fa16a45efa40775d426cd6229f612a7aa21e |
---|
25 | |
---|
26 | depends_lib port:perl5 \ |
---|
27 | port:tinysvm |
---|
28 | |
---|
29 | variant universal {} |
---|
30 | if {[variant_isset universal]} { |
---|
31 | set archflags ${configure.universal_cxxflags} |
---|
32 | } else { |
---|
33 | set archflags ${configure.cxx_archflags} |
---|
34 | } |
---|
35 | |
---|
36 | build.args CXX="${configure.cxx} ${archflags}" |
---|
37 | |
---|
38 | test.run yes |
---|
39 | test.target check |
---|
40 | |
---|
41 | configure.args-append --enable-shared=no \ |
---|
42 | --mandir=${prefix}/share/man \ |
---|
43 | --with-svm-learn=${prefix} |
---|
44 | |
---|
45 | livecheck.type regex |
---|
46 | livecheck.url ${master_sites} |
---|
47 | livecheck.regex ${name}-(\[0-9.\]+)\\. |
---|