source: trunk/dports/textproc/slearp/Portfile

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

New port: slearp @0.95 - structured learning and predict toolkit.

  • 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 117682 2014-03-08 03:28:09Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                slearp
7version             0.95
8categories          textproc math
9maintainers         hum openmaintainer
10
11description         structured learning and predict toolkit for tasks such as \
12                    g2p conversion, based on discriminative leaning
13
14long_description    Slearp (structured learning and prediction) is the ${description}.
15
16homepage            http://sourceforge.jp/projects/slearp/
17platforms           darwin
18license             GPL-3
19
20distname            ${name}_${version}
21
22master_sites        sourceforge_jp:slearp/60712/
23checksums           rmd160  e15088a7336f137f588ea3062128ecfec950f69d \
24                    sha256  f4849952e714861351e30d444602383f4d02b4be3f5b11566f00c11398d05990
25
26patchfiles          patch-Makefile.diff
27
28use_configure       no
29variant universal   {}
30
31build.target
32build.args          CXX="${configure.cxx}" \
33                    CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
34
35destroot {
36    xinstall -m 755 ${worksrcpath}/slearp ${destroot}${prefix}/bin
37    set docdir ${prefix}/share/doc/${name}
38    xinstall -d ${destroot}${docdir}
39    xinstall -m 644 -W ${worksrcpath} \
40        COPYING readme \
41        ${destroot}${docdir}
42    set exdir ${prefix}/share/examples/${name}
43    xinstall -d ${destroot}${exdir}
44    copy ${worksrcpath}/g2p_example ${destroot}${exdir}
45}
46
47livecheck.type      regex
48livecheck.url       http://sourceforge.jp/projects/slearp/releases/
49livecheck.regex     "${name}_(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.