source: trunk/dports/math/pecco/Portfile

Last change on this file was 121510, checked in by hum@…, 3 years ago

pecco: update to 2014-06-22.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 121510 2014-06-28 01:34:22Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                pecco
7version             2014-06-22
8epoch               1
9categories          math
10maintainers         hum openmaintainer
11
12description         simple C++ library for linear classification with conjunctive features
13long_description    ${name} is a ${description}.
14
15homepage            http://www.tkl.iis.u-tokyo.ac.jp/~ynaga/pecco/
16platforms           darwin
17license             {GPL-2 LGPL-2.1}
18
19master_sites        ${homepage}
20checksums           rmd160  fc88f50594134331ed5d09e7adc14a6dc1cad969 \
21                    sha256  7e0c369491a0e4ddbed6dd4001f2c9f668248f9148ab644167efa307efa75e1b
22
23post-destroot {
24    set docdir ${prefix}/share/doc/${name}
25    xinstall -d ${destroot}${docdir}
26    xinstall -m 644 -W ${worksrcpath} \
27        AUTHORS COPYING GPL LGPL README THANKS \
28        ${destroot}${docdir}
29    set exroot ${prefix}/share/examples
30    xinstall -d ${destroot}${exroot}
31    copy ${worksrcpath}/test ${destroot}${exroot}/${name}
32}
33
34variant dartsclone description {Use darts-clone} {
35    depends_build-append       port:darts-clone
36    configure.args-append      --with-trie-impl=darts-clone
37}
38
39variant float description {Use float as the type of weights} {
40    configure.args-append      --enable-float
41}
42
43variant trie description {Encode weights into a trie in kernel_model} {
44    configure.args-append      --enable-abuse-trie
45}
46
47default_variants    +dartsclone
48   
49livecheck.type      regex
50livecheck.regex     "${name}-(\\d+(?:\\-\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.