# $Id: Portfile,v 1.3 2005/01/20 00:12:28 matt Exp $ PortSystem 1.0 name html2text version 1.3.2a categories textproc platforms darwin maintainers matt@opendarwin.org homepage http://userpage.fu-berlin.de/~mbayer/tools/html2text.html 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 pre-configure { reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/configure } configure.env CC="gcc3" \ CXX="g++3" destroot { file copy ${worksrcpath}/html2text ${destroot}${prefix}/bin file copy ${worksrcpath}/html2text.1.gz ${destroot}${prefix}/share/man/man1 file copy ${worksrcpath}/html2textrc.5.gz ${destroot}${prefix}/share/man/man5 file mkdir ${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} }