# $Id$
PortSystem 1.0
name txt2html
version 1.35
categories textproc
license BSD
maintainers nomaintainer
description Convert ASCII text to HTML
homepage http://www.aigeek.com/txt2html/
platforms darwin
supported_archs noarch
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 sourceforge
extract.suffix .tgz
checksums md5 ba007af9d0681b3f493c84869b147071
use_configure no
post-configure { reinplace "s|/usr/share/misc|${prefix}/share/${name}|g" \
${worksrcpath}/${name}.pl }
build {}
destroot { system "install -m 755 -d ${destroot}${prefix}/bin"
system "install -m 755 ${worksrcpath}/${name}.pl \
${destroot}${prefix}/bin/${name}"
system "install -m 755 -d \
${destroot}${prefix}/share/${name}"
system "install -m 644 ${worksrcpath}/${name}.dict \
${destroot}${prefix}/share/${name}"
system "install -m 755 -d \
${destroot}${prefix}/share/doc/${name}"
system "install -m 644 ${worksrcpath}/* \
${destroot}${prefix}/share/doc/${name}"
system "rm ${destroot}${prefix}/share/doc/${name}/${name}.*" }