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
| System | Port | Version |
|---|---|---|
| FreeBSD | www/p5-HTML-GenToc | 3.20_2 |
| DragonFly | www/p5-HTML-GenToc | 3.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.20_2 | 3.20_2 | 3.20_2 | 3.20_2 | 3.20_2 |
| FreeBSD:14:quarterly | 3.20_2 | 3.20_2 | n/a | 3.20_2 | 3.20_2 |
| FreeBSD:15:latest | 3.20_2 | 3.20_2 | n/a | 3.20_2 | 3.20_2 |
| FreeBSD:15:quarterly | 3.20_2 | 3.20_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.20_2 | 3.20_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 4
p5-HTML-LinkList>=0.1501: www/p5-HTML-LinkListp5-HTML-SimpleParse>=0.10: www/p5-HTML-SimpleParsep5-HTML-Parser>=0: www/p5-HTML-Parserp5-Getopt-ArgvFile>=1.09: devel/p5-Getopt-ArgvFile
Runtime 4
p5-HTML-LinkList>=0.1501: www/p5-HTML-LinkListp5-HTML-SimpleParse>=0.10: www/p5-HTML-SimpleParsep5-HTML-Parser>=0: www/p5-HTML-Parserp5-Getopt-ArgvFile>=1.09: devel/p5-Getopt-ArgvFile
The full lists below include those, and their dependencies in turn.
Build dependencies 17
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Clone
- devel/p5-Getopt-ArgvFile
- devel/p5-IO-HTML
- devel/p5-Module-Build
- devel/p5-TimeDate
- lang/perl5.42
- net/p5-URI
- www/p5-HTML-LinkList
- www/p5-HTML-Parser
- www/p5-HTML-SimpleParse
- www/p5-HTML-Tagset
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-LWP-MediaTypes
Run dependencies 16
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Clone
- devel/p5-Getopt-ArgvFile
- devel/p5-IO-HTML
- devel/p5-TimeDate
- lang/perl5.42
- net/p5-URI
- www/p5-HTML-LinkList
- www/p5-HTML-Parser
- www/p5-HTML-SimpleParse
- www/p5-HTML-Tagset
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-LWP-MediaTypes
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
| File | Size | SHA256 |
|---|---|---|
| HTML-GenToc-3.20.tar.gz | 63124 | 961f7e4127bc84de6fc6087f73af105083446a434b199b37bcf479269594a0c3 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.