# -*- 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 # $Id$ PortSystem 1.0 name unrtf version 0.21.2 revision 1 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 http://www.gnu.org/software/unrtf/unrtf.html master_sites gnu checksums rmd160 180d16ac43bac5ef28a4afb65a564a34cb8bef9d \ sha256 acb1b093dd2c7485fc43b128ccaf665d6188f568752cec96d54b693374caddb0 depends_lib port:libiconv patchfiles patch-configure.diff \ patch-prefix.diff \ patch-src-attr.c.diff post-patch { reinplace "s|@PREFIX@|${prefix}|g" \ ${worksrcpath}/doc/unrtf.1 \ ${worksrcpath}/src/main.h \ ${worksrcpath}/src/my_iconv.h \ ${worksrcpath}/src/path.h }