BSD Ports

textproc/html2text 2.2.3,1 FreeBSD

Converts HTML documents into plain text

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2+
Categories
textproc
Package size
79.0 KiB, 201.8 KiB installed

Description

html2text is a command line utility, written in C++, that converts HTML documents (HTML 3.2) into plain text (ISO 8859-1).

Each HTML document is loaded from a location indicated by an URI or read from standard input, and formatted into a stream of plain text characters that is written to standard output or into an output-file. The input-URI may specify a remote site, from that the documents are loaded with the Hypertext Transfer Protocol (HTTP). The program is even able to preserve the original positions of table fields and accepts also syntactically incorrect input, attempting to interpret it "reasonably". The rendering is largely customisable through an RC file.

In the other systems

SystemPortVersion
FreeBSDtextproc/html2text2.2.3,1
OpenBSDconverters/html2text2.4.0pl20260113
NetBSDtextproc/html2text1.3.2a
DragonFlytextproc/html2text2.2.3,1
MidnightBSDtextproc/html2text2.2.3,1

Install

Binary package:

pkg install html2text

From the ports tree:

cd /usr/ports/textproc/html2text/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	html2text>0:textproc/html2text

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.2.3,12.2.3,11.3.2a,12.2.3,12.2.3,1
FreeBSD:14:quarterly2.2.3,12.2.3,1n/a2.2.3,12.2.3,1
FreeBSD:15:latest2.2.3,12.2.3,1n/a2.2.3,12.2.3,1
FreeBSD:15:quarterly2.2.3,12.2.3,1n/an/an/a
FreeBSD:16:latest2.2.3,12.2.3,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Configuration

No options to configure.

Service scripts
none
Conflicts with
py*-html2text py*-html2text2018

Files

distinfo 1
FileSizeSHA256
html2text-2.2.3.tar.gz329841859133528b3fd893562e41d84bc1ebc1f9166dd281d0fa8e17e7dd26337f5752
Master sites 1
  • https://github.com/grobian/html2text/releases/download/v2.2.3/

Commit history 0

No commits in the history this site was built from.