diff options
author | steve <steve@FreeBSD.org> | 1998-07-12 23:24:39 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-07-12 23:24:39 +0000 |
commit | 1ff386f4f36be7456dc4c2009f45350c4ca6c8cf (patch) | |
tree | 01d373e4a9bfb5a1c867afd3005d6889129dc25d /textproc | |
parent | 8f25e4372506eda1876b1b6500fbd11abfc5af07 (diff) | |
download | FreeBSD-ports-1ff386f4f36be7456dc4c2009f45350c4ca6c8cf.zip FreeBSD-ports-1ff386f4f36be7456dc4c2009f45350c4ca6c8cf.tar.gz |
Initial import of txt2html version 1.25.
Text processing utilities (does not include desktop publishing).
PR: 7121
Submitted by: Don Croyle <croyle@gelemna.ft-wayne.in.us>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/txt2html/Makefile | 34 | ||||
-rw-r--r-- | textproc/txt2html/distinfo | 1 | ||||
-rw-r--r-- | textproc/txt2html/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/txt2html/pkg-descr | 12 | ||||
-rw-r--r-- | textproc/txt2html/pkg-plist | 9 |
5 files changed, 57 insertions, 0 deletions
diff --git a/textproc/txt2html/Makefile b/textproc/txt2html/Makefile new file mode 100644 index 0000000..d2c0df7 --- /dev/null +++ b/textproc/txt2html/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: txt2html +# Version required: 1.25 +# Date created: 29 Jun 1998 +# Whom: Don Croyle <croyle@gelemna.ft-wayne.in.us> +# +# $Id$ +# + +DISTNAME= txt2html-1.25 +CATEGORIES= textproc +MASTER_SITES= http://www.thehouse.org/txt2html/ + +MAINTAINER= croyle@gelemna.ft-wayne.in.us + +WRKSRC= ${WRKDIR}/txt2html +NO_BUILD= yes + +do-configure: + cd ${WRKSRC} && perl -pi -e "s|/usr/local|${PREFIX}|g" txt2html.pl + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/txt2html.pl ${PREFIX}/bin/txt2html + ${MKDIR} ${PREFIX}/share/doc/txt2html + ${INSTALL_DATA} ${WRKSRC}/txt2html.dict ${PREFIX}/share/doc/txt2html/ +.if !defined(NOPORTDOCS) +.for file in INSTALL LICENSE README changes.html sample.html sample.txt + ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/txt2html/ +.endfor +.endif + @${ECHO_MSG} "To install the sample links dictionary as the default" + @${ECHO_MSG} "copy or link ${PREFIX}/share/doc/txt2html/txt2html.dict to" + @${ECHO_MSG} "${PREFIX}/lib/txt2html-linkdict or ~/.txt2html-linkdict" + +.include <bsd.port.mk> diff --git a/textproc/txt2html/distinfo b/textproc/txt2html/distinfo new file mode 100644 index 0000000..f9bf657 --- /dev/null +++ b/textproc/txt2html/distinfo @@ -0,0 +1 @@ +MD5 (txt2html-1.25.tar.gz) = db0ba5a273143d1ec7dfc3efcda6cebb diff --git a/textproc/txt2html/pkg-comment b/textproc/txt2html/pkg-comment new file mode 100644 index 0000000..62a5685 --- /dev/null +++ b/textproc/txt2html/pkg-comment @@ -0,0 +1 @@ +Convert raw text to something with a little HTML formatting. diff --git a/textproc/txt2html/pkg-descr b/textproc/txt2html/pkg-descr new file mode 100644 index 0000000..adce98a --- /dev/null +++ b/textproc/txt2html/pkg-descr @@ -0,0 +1,12 @@ +txt2html is a Perl program that converts plain text to HTML. + +It supports headings, lists, simple character markup, and +hyperlinking, and is highly customizable. It recognizes some of the +apparent structure of the source document (mostly whitespace and +typographic layout), and attempts to mark that structure explicitly +using HTML. + +http://www.thehouse.org/txt2html/ + +- Don Croyle + <croyle@gelemna.ft-wayne.in.us> diff --git a/textproc/txt2html/pkg-plist b/textproc/txt2html/pkg-plist new file mode 100644 index 0000000..59c305e --- /dev/null +++ b/textproc/txt2html/pkg-plist @@ -0,0 +1,9 @@ +bin/txt2html +share/doc/txt2html/txt2html.dict +share/doc/txt2html/INSTALL +share/doc/txt2html/LICENSE +share/doc/txt2html/README +share/doc/txt2html/changes.html +share/doc/txt2html/sample.html +share/doc/txt2html/sample.txt +@dirrm share/doc/txt2html |