source: trunk/dports/math/opal-ml/Portfile

Last change on this file was 132710, checked in by hum@…, 2 years ago

opal-ml: update to 2015-02-08

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
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: Portfile 132710 2015-02-08 15:39:57Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6# '-ml' stands for Machine Learning, which is appended in order to avoid conflict with devel/opal.
7# See http://lists.macosforge.org/pipermail/macports-dev/2012-January/017429.html and #32884.
8name                opal-ml
9version             2015-02-08
10epoch               1
11categories          math
12maintainers         hum openmaintainer
13
14description         C++ header library of online learning with kernel slicing
15long_description    Opal is a ${description}.
16
17homepage            http://www.tkl.iis.u-tokyo.ac.jp/~ynaga/opal/
18platforms           darwin
19license             {GPL-2 LGPL-2.1}
20
21master_sites        ${homepage}
22checksums           rmd160  45230dbbbd50adc8e862e635570eb11048859add \
23                    sha256  6015dca576f65550fa073ebe45b62a51fa4c2180604a076b1bc98078ac9f8799
24
25distname            opal-${version}
26
27post-destroot {
28    set docdir ${prefix}/share/doc/${name}
29    xinstall -d ${destroot}${docdir}
30    xinstall -m 644 -W ${worksrcpath} \
31        AUTHORS COPYING GPL LGPL README \
32        ${destroot}${docdir}
33    set exroot ${prefix}/share/examples
34    xinstall -d ${destroot}${exroot}
35    copy ${worksrcpath}/test ${destroot}${exroot}/${name}
36}
37
38variant multiclass description {Add a multi-class classifier} {
39    configure.args-append  --enable-multi
40}
41   
42default_variants    +multiclass
43
44livecheck.type      regex
45livecheck.regex     "opal-(\\d+(?:\\-\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.