txt2html: add/conform to modeline

This commit is contained in:
Renee Otten
2025-11-24 22:18:00 -05:00
committed by Renee Otten
parent 2763c5aaba
commit e800e40fa3
+44 -35
View File
@@ -1,42 +1,51 @@
PortSystem 1.0
# -*- 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
name txt2html
version 1.35
categories textproc
license BSD
maintainers nomaintainer
description Convert ASCII text to HTML
homepage http://www.aigeek.com/txt2html/
platforms any
supported_archs noarch
PortSystem 1.0
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.
name txt2html
version 1.35
revision 0
master_sites sourceforge
categories textproc
platforms any
supported_archs noarch
license BSD
maintainers nomaintainer
extract.suffix .tgz
checksums md5 ba007af9d0681b3f493c84869b147071
description Convert ASCII text to HTML
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.
use_configure no
post-configure { reinplace "s|/usr/share/misc|${prefix}/share/${name}|g" \
${worksrcpath}/${name}.pl }
homepage http://www.aigeek.com/txt2html/
extract.suffix .tgz
build {}
master_sites sourceforge
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}.*" }
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}.*"
}