# $Id: Portfile 112320 2013-10-18 11:03:07Z jmr@macports.org $ PortSystem 1.0 name html2text version 1.3.2a revision 3 categories textproc # conflicting licenses license GPL-2+ BSD-old Restrictive platforms darwin maintainers nomaintainer homepage http://www.mbayer.de/${name}/ description Utility to convert HTML documents into plain text. long_description html2text is a command line utility, written in C++, that converts \ HTML documents into plain text. \ Each HTML document is loaded from a location indicated by a URI or \ read from standard input, and formatted into a stream of plain text \ characters that is written to standard output or into an output-file. \ The input-URI may specify a remote site, from that the documents are \ loaded via the Hypertext Transfer Protocol (HTTP). master_sites http://userpage.fu-berlin.de/~mbayer/tools/ \ ftp://ftp.ibiblio.org/pub/linux/apps/www/converters/ checksums md5 6097fe07b948e142315749e6620c9cfc patchfiles patch-configure.diff destroot { xinstall -m 755 ${worksrcpath}/html2text ${destroot}${prefix}/bin xinstall -m 644 ${worksrcpath}/html2text.1.gz \ ${destroot}${prefix}/share/man/man1 xinstall -m 644 ${worksrcpath}/html2textrc.5.gz \ ${destroot}${prefix}/share/man/man5 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -v -W ${worksrcpath} \ CHANGES COPYING CREDITS KNOWN_BUGS README RELEASE_NOTES TODO \ ${destroot}${prefix}/share/doc/${name} }