# -*- 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

PortSystem          1.0

name                freeling
version             3.1
revision            4
categories          textproc devel
platforms           darwin
license             GPL-3+

maintainers         {stromnov @stromnov} openmaintainer

description         An open-source suite of language analyzers

long_description    FreeLing is a library providing language analysis \
                    services, oriented to satisfy the needs of Natural \
                    Language Processing application developers.

homepage            http://nlp.lsi.upc.edu/freeling/
master_sites        http://devel.cpl.upc.edu/freeling/downloads/32?dummy=

checksums           rmd160  85be3adcf20690040d2d3e5927c9ea02b896a652 \
                    sha256  e98471ceb3f58afbe70369584d8d316323d13fcc51d09b2fd7f431a3220982ba

conflicts           hunspell

patchfiles-append   patch-data_Makefile.in.diff

depends_lib-append  port:zlib \
                    port:boost

configure.args-append \
                    --enable-boost-locale

livecheck.type      regex
livecheck.url       http://devel.cpl.upc.edu/freeling/downloads/
livecheck.regex     {freeling-(\d+(?:\.\d+)*)\.[tz]}