source: trunk/dports/math/wapiti/Portfile

Last change on this file was 115001, checked in by hum@…, 4 years ago

wapiti: update to 1.5.0.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 115001 2013-12-21 09:12:52Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                wapiti
7version             1.5.0
8categories          math textproc
9maintainers         hum openmaintainer
10
11description         A simple and fast discriminative sequence labelling toolkit
12long_description    Wapiti is a very fast toolkit for segmenting and labeling \
13                    sequences with discriminative models. It is based on maxent \
14                    models, maximum entropy Markov models and linear-chain CRF \
15                    and proposes various optimization and regularization methods \
16                    to improve both the computational complexity and the \
17                    prediction performance of standard models. Wapiti is ranked \
18                    first on the sequence tagging task for several month on \
19                    MLcomp web site.
20
21homepage            http://wapiti.limsi.fr/
22platforms           darwin
23license             BSD
24
25master_sites        ${homepage}
26checksums           rmd160  8ca5a2db7a1e81e6871a72799e1bd35bf0731ec1 \
27                    sha256  4726101734acde4e2300f2a63991b76bbcf00d2b1897bd15277c9c9ebdfb654a
28
29use_configure       no
30
31variant universal {}
32
33build.args          CC=${configure.cc} CFLAGS="${configure.cflags} [get_canonical_archflags]"
34build.target        wapiti
35
36destroot.args       PREFIX=${prefix}
37
38post-destroot {
39    # install additional documents.
40    set docdir ${prefix}/share/doc/${name}
41    xinstall -d ${destroot}${docdir}
42    xinstall -m 644 -W ${worksrcpath} \
43        COPYING HISTORY README.mkd \
44        ${destroot}${docdir}
45    # install examples.
46    set exroot ${prefix}/share/examples
47    xinstall -d ${destroot}${exroot}
48    copy ${worksrcpath}/dat ${destroot}${exroot}/${name}
49}
50
51livecheck.type      regex
52livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.