# -*- 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                libots
version             0.5.0
revision            0
categories          textproc
maintainers         gmail.com:cedstrom openmaintainer
license             GPL-2+

description         Open Text Summarizer
long_description    OTS is both a library and a command line tool. \
                    Word processors such as AbiWord and KWord can link \
                    to the library and summarize documents while the \
                    command line tool lets you summarize text on the \
                    console. The program can either print the summarized \
                    text as text or HTML. If HTML, the important sentences \
                    are highlighted. The program is multi lingual and \
                    works with UTF-8 encoding.

homepage            http://libots.sourceforge.net/
master_sites        sourceforge
distname            ots-${version}

checksums           rmd160  e413267fc81ab9bf3da5f3787757ce20c7e0304e \
                    sha256  ea908d22256166d1200fef55a82dd3ea8e096a249eaaf0b926f3577f1a63e137 \
                    size    371126

patchfiles          makefile-dependencies.patch \
                    implicit.patch \
                    patch-configure.in.diff

depends_build       port:pkgconfig
depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:libxml2 \
                    port:popt

use_autoreconf      yes
use_parallel_build  no

pre-configure {
    touch ${worksrcpath}/gtk-doc.make
}
