# -*- 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 90621 2012-03-10 04:11:41Z hum@macports.org $

PortSystem          1.0

name                arowpp
version             0.1.2
categories          math textproc
maintainers         hum openmaintainer

description         AROW++ An implementation of the efficient confidence-weighted classifier

long_description    arowpp (AROW++) is an simple and efficient implementation of \
                    Adaptive Regularization of Weights online learning algorithm \
                    for binary classification. AROW is efficient for learning \
                    tasks such as natural language processing tasks that the \
                    data is high-dimensional, extremely sparse. AROW is an \
                    extension of confidence weighted (CW) algorithm that can \
                    achieve the good performance with a few iterations.

homepage            http://code.google.com/p/arowpp/
platforms           darwin
license             BSD

master_sites        googlecode:arowpp
distname            AROW++-${version}

checksums           rmd160  5f6f3718908d3eb14d359cb41e43e40a65d3f39b \
                    sha256  cd1637278503d1cc331c9225c4d2472f59bc5f9f9f7031133b484a37b139b344

post-destroot {
    set docdir ${destroot}${prefix}/share/doc/${name}
    xinstall -d ${docdir}
    xinstall -m 644 -W ${worksrcpath} \
        AUTHORS \
        BSD \
        COPYING \
        ChangeLog \
        README \
        ${docdir}
}

livecheck.regex     AROW\\+\\+-(\\d+\\.\\d+\\.\\d+)\\.tar
