# -*- 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                unrtf
version             0.21.10
categories          textproc
license             GPL-3+
platforms           darwin
maintainers         nomaintainer

description         RTF converter

long_description    UnRTF is a command-line program written in C which \
                    converts documents in Rich Text (.rtf) format to HTML, \
                    LaTeX, PostScript, plain text and other formats.

homepage            https://www.gnu.org/software/unrtf/unrtf.html
master_sites        gnu

checksums           rmd160  b936af7497d5ab3198f6152122840220f2119274 \
                    sha256  b49f20211fa69fff97d42d6e782a62d7e2da670b064951f14bbff968c93734ae \
                    size    812696

depends_lib         port:libiconv

# needs to regenerate broken configure for darwin

use_autoreconf      yes
autoreconf.args     -fvi

test.run            yes
test.target         check
