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 tinysvm |
---|
7 | version 0.09 |
---|
8 | categories science |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer |
---|
11 | license LGPL |
---|
12 | |
---|
13 | description Support Vector Machines (SVMs) |
---|
14 | long_description TinySVM is an implementation of Support Vector Machines (SVMs), \ |
---|
15 | for the problem of pattern recognition. Support Vector Machines \ |
---|
16 | is a new generation learning algorithms based on recent advances \ |
---|
17 | in statistical learning theory, and applied to large number of \ |
---|
18 | real-world applications, such as text categorization, hand-written \ |
---|
19 | character recognition. |
---|
20 | |
---|
21 | homepage http://chasen.org/~taku/software/TinySVM/ |
---|
22 | master_sites ${homepage}/src/ |
---|
23 | distfiles TinySVM-${version}.tar.gz |
---|
24 | checksums sha1 9c3c36454c475180ef6646d059376f35549cad08 \ |
---|
25 | rmd160 d44586810d4776a251cda4a08b1aa9148108c8e6 |
---|
26 | |
---|
27 | variant universal {} |
---|
28 | if {[variant_isset universal]} { |
---|
29 | set archflags ${configure.universal_cxxflags} |
---|
30 | } else { |
---|
31 | set archflags ${configure.cxx_archflags} |
---|
32 | } |
---|
33 | |
---|
34 | build.args CXX="${configure.cxx} ${archflags}" |
---|
35 | |
---|
36 | test.run yes |
---|
37 | test.target check |
---|
38 | |
---|
39 | configure.args-append --enable-shared=no \ |
---|
40 | --mandir=${prefix}/share/man |
---|
41 | configure.env-append CPPFLAGS=-D__GNU_LIBRARY__ |
---|
42 | |
---|
43 | livecheck.type regex |
---|
44 | livecheck.url ${master_sites} |
---|
45 | livecheck.regex TinySVM-(\[0-9.\]+)\\. |
---|