source: trunk/dports/math/bact/Portfile

Last change on this file was 86117, checked in by hum@…, 6 years ago

bact: simplify cxx flags.

  • 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 86117 2011-10-19 13:13:40Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                bact
7version             0.13
8categories          math
9platforms           darwin
10maintainers         hum openmaintainer
11license             GPL
12
13description         a Boosting Algorithm for Classification of Trees
14
15long_description    BACT is a machine learning tool for labeled ordered trees. \
16                    The important characteristic is that the input example x  \
17                    is represented not in a numerical feature vector (bag-of-words) \
18                    but in a labeled ordered tree.
19
20homepage            http://chasen.org/~taku/software/bact/
21master_sites        ${homepage}
22
23checksums           sha1    cdc8815e9258868699d98449598058011e993218 \
24                    rmd160  b78eae7179833accd683dccab6a148058b5f47ab
25
26use_configure       no
27
28variant universal   {}
29
30build.args          CXX="${configure.cxx} [get_canonical_archflags cxx]"
31
32test.run            yes
33
34destroot {
35    xinstall -m 755 -W ${worksrcpath} bact_learn bact_classify bact_mkmodel \
36                       ${destroot}${prefix}/bin
37    file mkdir ${destroot}${prefix}/share/doc/${name}
38    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING README bact.css index.html \
39                       ${destroot}${prefix}/share/doc/${name}
40}
41
42livecheck.type      regex
43livecheck.regex     ${name}-(\[0-9.\]+)\\.
Note: See TracBrowser for help on using the repository browser.