# $Id: Portfile,v 1.6 2003/11/17 21:20:05 jkh Exp $ PortSystem 1.0 name txt2html version 1.35 categories textproc maintainers mij@opendarwin.org description Convert ASCII text to HTML homepage http://www.aigeek.com/txt2html/ platforms darwin long_description txt2html is a Perl program that converts plain text to \ HTML. It supports headings, lists, simple character \ markup, hyperlinking, and is highly customizable. It \ recognizes some of the structure of the source document \ (whitespace, typographic layout, etc.), and attempts to \ mark that structure explicitly using HTML. master_sites http://telia.dl.sourceforge.net/sourceforge/txt2html/ extract.suffix .tgz checksums md5 ba007af9d0681b3f493c84869b147071 configure {} post-configure { reinplace "s|/usr/share/misc|${prefix}/share/${portname}|g" \ ${worksrcpath}/${portname}.pl } build {} destroot { system "install -m 755 -d ${destroot}${prefix}/bin" system "install -m 755 ${worksrcpath}/${portname}.pl \ ${destroot}${prefix}/bin/${portname}" system "install -m 755 -d \ ${destroot}${prefix}/share/${portname}" system "install -m 644 ${worksrcpath}/${portname}.dict \ ${destroot}${prefix}/share/${portname}" system "install -m 755 -d \ ${destroot}${prefix}/share/doc/${portname}" system "install -m 644 ${worksrcpath}/* \ ${destroot}${prefix}/share/doc/${portname}" system "rm ${destroot}${prefix}/share/doc/${portname}/${portname}.*" }