# $Id: Portfile 59972 2009-10-28 07:03:21Z pguyot@kallisys.net $

PortSystem          1.0

name                link-grammar
version             4.6.1
categories          textproc
maintainers         nomaintainer
description         Link Grammar Parser
long_description    The Link Grammar Parser is a syntactic parser of English, \
                    based on link grammar, an original theory of English \
                    syntax. Given a sentence, the system assigns to it a \
                    syntactic structure, which consists of a set of labeled \
                    links connecting pairs of words. The parser also produces \
                    a "constituent" (Penn tree-bank style phrase tree) \
                    representation of a sentence (showing noun phrases, \
                    verb phrases, etc.).
homepage            http://www.abisource.com/projects/link-grammar/
platforms           darwin
master_sites        http://www.abisource.com/downloads/link-grammar/${version}/
checksums           md5     e0bd3ff6d0d9e59b4c2948958f7174ac \
                    sha1    1e74356d03e30ea9eeaae99f01c4c55eba7a776b \
                    rmd160  78de8b4c015fe6be419cdce3e4869ded6c56c474

use_parallel_build  no

configure.args-append   --enable-pthreads

variant no_track_space_usage description "Disable track space usage" {
    patchfiles-append   patch-link-grammar-utilities.h.diff patch-link-grammar-link-grammar.def.track_space.diff
}
