source: trunk/dports/textproc/pialign/Portfile

Last change on this file was 110665, checked in by jeremyhu@…, 4 years ago

pialign: Adjust blacklisting

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 110665 2013-09-03 04:34:45Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                pialign
7version             0.2.4
8categories          textproc
9maintainers         hum openmaintainer
10
11description         Phrasal ITG Aligner
12
13long_description    pialign is a package that allows you to create a phrase \
14                    table and word alignments from an unaligned parallel \
15                    corpus. It is unlike other unsupervised word alignment \
16                    tools in that it is able to create a phrase table using a \
17                    fully statistical model, no heuristics. As a result, it \
18                    is able to build phrase tables for phrase-based machine \
19                    translation that achieve competitive results but are only \
20                    a fraction of the size of those created with heuristic \
21                    methods.
22
23homepage            http://www.phontron.com/pialign/
24platforms           darwin
25license             CPL-1
26
27master_sites        ${homepage}download/
28checksums           rmd160  4ca9d4518672051541984a14794bc8414556f123 \
29                    sha256  e58aee210ce312550475f7db379922893ed7ff81721db16ceb7c4dfb9a1c0588
30
31# TODO: Cleanup old tr1 namespace usage
32compiler.blacklist  *clang*
33
34platform darwin {
35    if {${os.major} >= 13} {
36        depends_lib
37        depends_run
38        pre-fetch {
39            ui_error "$name does not build on Mavericks or later."
40            error "unsupported platform"
41        }
42    }
43}
44
45post-destroot {
46    set doc_dir ${destroot}${prefix}/share/doc/${name}
47    xinstall -d ${doc_dir}
48    xinstall -m 644 -W ${worksrcpath} \
49        AUTHORS COPYING README \
50        ${doc_dir}
51}
52
53livecheck.type      regex
54livecheck.regex     ${name}-(\[0-9.\]+)\\.
Note: See TracBrowser for help on using the repository browser.