BSD Ports

www/p5-HTML-GenToc 3.20_2 FreeBSD

Generate a Table of Contents for HTML documents

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
www, perl5
Package size
36.4 KiB, 89.0 KiB installed

Description

HTML::GenToc generates anchors and a table of contents for HTML documents. Depending on the arguments, it will insert the information it generates, or output to a string, a separate file or STDOUT.

While it defaults to taking H1 and H2 elements as the significant elements to put into the table of contents, any tag can be defined as a significant element. Also, it doesn't matter if the input HTML code is complete, pure HTML, one can input pseudo-html or page-fragments, which makes it suitable for using on templates and HTML meta-languages such as WML.

Also included in the distrubution is hypertoc, a script which uses the module so that one can process files on the command-line in a user-friendly manner.

In the other systems

SystemPortVersion
FreeBSDwww/p5-HTML-GenToc3.20_2
DragonFlywww/p5-HTML-GenToc3.20_2

Install

Binary package:

pkg install p5-HTML-GenToc

From the ports tree:

cd /usr/ports/www/p5-HTML-GenToc/ && make install clean

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

RUN_DEPENDS=	p5-HTML-GenToc>0:www/p5-HTML-GenToc

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:latest3.20_23.20_23.20_23.20_23.20_2
FreeBSD:14:quarterly3.20_23.20_2n/a3.20_23.20_2
FreeBSD:15:latest3.20_23.20_2n/a3.20_23.20_2
FreeBSD:15:quarterly3.20_23.20_2n/an/an/a
FreeBSD:16:latest3.20_23.20_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 4

Runtime 4

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

Build dependencies 17
Run dependencies 16

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 4
  • bin/hypertoc
  • %%PERL5_MAN3%%/HTML::GenToc.3.gz
  • %%SITE_PERL%%/HTML/GenToc.pm
  • %%PERL5_MAN1%%/hypertoc.1.gz
distinfo 1
FileSizeSHA256
HTML-GenToc-3.20.tar.gz63124961f7e4127bc84de6fc6087f73af105083446a434b199b37bcf479269594a0c3
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.