# -*- 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
# $Id: Portfile 83493 2011-09-03 13:41:12Z hum@macports.org $

PortSystem          1.0

name                TinySVM
version             0.09
categories          math
platforms           darwin
maintainers         hum openmaintainer
license             LGPL-2.1

description         Support Vector Machines (SVMs)
long_description    TinySVM is an implementation of Support Vector Machines (SVMs), \
                    for the problem of pattern recognition. Support Vector Machines \
                    is  a new generation learning algorithms based on recent advances \
                    in statistical learning theory, and applied to large number of \
                    real-world applications, such as text categorization, hand-written \
                    character recognition.

homepage            http://chasen.org/~taku/software/TinySVM/
master_sites        ${homepage}src/

checksums           sha1    9c3c36454c475180ef6646d059376f35549cad08 \
                    rmd160  d44586810d4776a251cda4a08b1aa9148108c8e6

# respect build_arch / universal_archs
patchfiles          patch-configure.diff

configure.args      --disable-shared \
                    --mandir=${prefix}/share/man

configure.cppflags-append -D__GNU_LIBRARY__

test.run            yes
test.target         check

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     ${name}-(\[0-9.\]+)\\.
