Ticket #29161: Portfile.2

File Portfile.2, 1.6 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                tinysvm
7version             0.09
8categories          science
9platforms           darwin
10maintainers         nomaintainer
11license             LGPL
12
13description         Support Vector Machines (SVMs)
14long_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
21homepage            http://chasen.org/~taku/software/TinySVM/
22master_sites        ${homepage}/src/
23distfiles           TinySVM-${version}.tar.gz
24checksums           sha1    9c3c36454c475180ef6646d059376f35549cad08 \
25                    rmd160  d44586810d4776a251cda4a08b1aa9148108c8e6
26
27variant universal {}
28if {[variant_isset universal]} {
29    set archflags ${configure.universal_cxxflags}
30} else {
31    set archflags ${configure.cxx_archflags}
32}
33
34build.args          CXX="${configure.cxx} ${archflags}"
35
36test.run            yes
37test.target         check
38
39configure.args-append  --enable-shared=no \
40                       --mandir=${prefix}/share/man
41configure.env-append   CPPFLAGS=-D__GNU_LIBRARY__
42
43livecheck.type      regex
44livecheck.url       ${master_sites}
45livecheck.regex     TinySVM-(\[0-9.\]+)\\.