diff options
author | Lars Balker Rasmussen <lbr@FreeBSD.org> | 2009-03-29 14:17:04 +0000 |
---|---|---|
committer | Lars Balker Rasmussen <lbr@FreeBSD.org> | 2009-03-29 14:17:04 +0000 |
commit | d15b6b4705ead4f74a0865c2e09f8060f435b0d1 (patch) | |
tree | 87dae0f68b6137bd58b716d70a5d3c72fd48a421 /www | |
parent | 56a21d6b2076dd633aac30dd3e7aea0f153f782e (diff) |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-HTML-GenToc/Makefile | 28 | ||||
-rw-r--r-- | www/p5-HTML-GenToc/distinfo | 3 | ||||
-rw-r--r-- | www/p5-HTML-GenToc/pkg-descr | 17 | ||||
-rw-r--r-- | www/p5-HTML-GenToc/pkg-plist | 3 |
5 files changed, 52 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 3739626f8145..b961f476ea58 100644 --- a/www/Makefile +++ b/www/Makefile @@ -843,6 +843,7 @@ SUBDIR += p5-HTML-FormFu-Model-DBIC SUBDIR += p5-HTML-FromANSI SUBDIR += p5-HTML-FromText + SUBDIR += p5-HTML-GenToc SUBDIR += p5-HTML-GoogleMaps SUBDIR += p5-HTML-Highlight SUBDIR += p5-HTML-LinkExtractor diff --git a/www/p5-HTML-GenToc/Makefile b/www/p5-HTML-GenToc/Makefile new file mode 100644 index 000000000000..e80cbad08229 --- /dev/null +++ b/www/p5-HTML-GenToc/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: www/p5-HTML-GenToc +# Date created: 29 Mar 2009 +# Whom: Lars Balker Rasmussen <lbr@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= HTML-GenToc +PORTVERSION= 3.10 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= lbr@FreeBSD.org +COMMENT= Generate a Table of Contents for HTML documents + +RUN_DEPENDS= p5-HTML-LinkList>=0.1501:${PORTSDIR}/www/p5-HTML-LinkList \ + p5-HTML-SimpleParse>=0.10:${PORTSDIR}/www/p5-HTML-SimpleParse \ + p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \ + p5-Getopt-ArgvFile>=1.09:${PORTSDIR}/devel/p5-Getopt-ArgvFile +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_MODBUILD= 5.8.1+ + +MAN1= hypertoc.1 +MAN3= HTML::GenToc.3 + +.include <bsd.port.mk> diff --git a/www/p5-HTML-GenToc/distinfo b/www/p5-HTML-GenToc/distinfo new file mode 100644 index 000000000000..e614cc696856 --- /dev/null +++ b/www/p5-HTML-GenToc/distinfo @@ -0,0 +1,3 @@ +MD5 (HTML-GenToc-3.10.tar.gz) = 3a212627b8ef2128c1e98e6b722cc915 +SHA256 (HTML-GenToc-3.10.tar.gz) = 5f07810f14301350a37597c044527e27d0db1ac889b5e00cd31ed137b73e831f +SIZE (HTML-GenToc-3.10.tar.gz) = 45923 diff --git a/www/p5-HTML-GenToc/pkg-descr b/www/p5-HTML-GenToc/pkg-descr new file mode 100644 index 000000000000..1a9f8e9c7a7e --- /dev/null +++ b/www/p5-HTML-GenToc/pkg-descr @@ -0,0 +1,17 @@ +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. + +WWW: http://search.cpan.org/dist/HTML-GenToc/ diff --git a/www/p5-HTML-GenToc/pkg-plist b/www/p5-HTML-GenToc/pkg-plist new file mode 100644 index 000000000000..9bf854c7d160 --- /dev/null +++ b/www/p5-HTML-GenToc/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_PERL%%/HTML/GenToc.pm +bin/hypertoc +@dirrmtry %%SITE_PERL%%/HTML |