source: trunk/dports/textproc/cedar/Portfile

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

cedar: update to 2014-06-24.

  • 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 121511 2014-06-28 01:35:42Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                cedar
7version             2014-06-24
8categories          textproc
9maintainers         hum openmaintainer
10
11description         C++ implementation of efficiently-updatable double-array library
12
13long_description    Cedar implements a double-array trie. It offers fast \
14                    update/lookup for skewed (or ordered) queries\; it is meant \
15                    for skewed update/lookup with real-world data, e.g., words \
16                    in natural language text or mining conjunctive features in \
17                    a linear classifier. Even if keys are uniformly, randomly \
18                    queried, its update/lookup is still faster than std::map \
19                    and comparable to std::unordered_map.
20
21homepage            http://www.tkl.iis.u-tokyo.ac.jp/~ynaga/cedar/
22platforms           darwin
23license             {GPL-2 LGPL-2.1 BSD}
24
25master_sites        ${homepage}
26checksums           rmd160  28b16f4ebf3e6d79a82896a36450b0191bae5c26 \
27                    sha256  200a31b0a82ac0e6756a09959e8e380afd35d3d175c88fb54c966099995f933a
28
29post-destroot {
30    # install additional documents.
31    set dest_doc ${destroot}${prefix}/share/doc/${name}
32    file mkdir ${dest_doc}
33    xinstall -m 644 -W ${worksrcpath} \
34        AUTHORS BSD GPL LGPL THANKS \
35        ${dest_doc}
36}
37
38livecheck.type      regex
39livecheck.regex     ${name}-(\\d+-\\d+-\\d+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.