# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem          1.0

name                link-grammar
version             4.4.1
categories          textproc
maintainers         kallisys.net:pguyot openmaintainer
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     15359658367423cee0324c76fad5571e \
                    sha1    a7b063e4d35b4a524d0228814215e01e8ccbe71e \
                    rmd160  faf40644a90d2fcd2bbf22843b736679cc6dabac

patchfiles          patch-link-grammar-link-grammar.def.diff

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
}
