mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
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>
This commit is contained in:
parent
92dc31a60c
commit
9534c85ced
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=11868
34
textproc/txt2html/Makefile
Normal file
34
textproc/txt2html/Makefile
Normal file
@ -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>
|
1
textproc/txt2html/distinfo
Normal file
1
textproc/txt2html/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (txt2html-1.25.tar.gz) = db0ba5a273143d1ec7dfc3efcda6cebb
|
1
textproc/txt2html/pkg-comment
Normal file
1
textproc/txt2html/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Convert raw text to something with a little HTML formatting.
|
12
textproc/txt2html/pkg-descr
Normal file
12
textproc/txt2html/pkg-descr
Normal file
@ -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>
|
9
textproc/txt2html/pkg-plist
Normal file
9
textproc/txt2html/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user