diff options
author | Ade Lovett <ade@FreeBSD.org> | 2000-01-29 03:29:19 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2000-01-29 03:29:19 +0000 |
commit | 7546b1cbd0808086cbb2e24bd98ab9b5b9b7d689 (patch) | |
tree | ae9a638f34c1d42331dbc2c10a20a38950f99275 /www | |
parent | A collection of modules that represent, create, and (diff) |
The HTML::Summary module produces summaries from the textual content of
web pages. It does so using the location heuristic, which determines the
value of a given sentence based on its position and status within the
document.
PR: 15863
Submitted by: Dmitry Sivachenko <dima@Chg.RU>
Notes
Notes:
svn path=/head/; revision=25197
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-HTML-Summary/Makefile | 28 | ||||
-rw-r--r-- | www/p5-HTML-Summary/distinfo | 1 | ||||
-rw-r--r-- | www/p5-HTML-Summary/pkg-comment | 1 | ||||
-rw-r--r-- | www/p5-HTML-Summary/pkg-descr | 18 | ||||
-rw-r--r-- | www/p5-HTML-Summary/pkg-plist | 10 |
6 files changed, 59 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 4b7dd1b944e8..4e592644ce83 100644 --- a/www/Makefile +++ b/www/Makefile @@ -91,6 +91,7 @@ SUBDIR += p5-HTML-Parser SUBDIR += p5-HTML-QuickCheck SUBDIR += p5-HTML-Stream + SUBDIR += p5-HTML-Summary SUBDIR += p5-HTML-Tree SUBDIR += p5-HTTPD-Tools SUBDIR += p5-ParallelUA diff --git a/www/p5-HTML-Summary/Makefile b/www/p5-HTML-Summary/Makefile new file mode 100644 index 000000000000..b2da8bd725cb --- /dev/null +++ b/www/p5-HTML-Summary/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: p5-HTML-Summary +# Version required: 0.017 +# Date created: 3 January 2000 +# Whom: Dmitry Sivachenko <dima@Chg.RU> +# +# $FreeBSD$ +# + +DISTNAME= HTML-Summary-0.017 +PKGNAME= p5-HTML-Summary-0.017 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= HTML + +MAINTAINER= dima@Chg.RU + +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/HTML/TreeBuilder.pm:${PORTSDIR}/www/p5-HTML-Tree + +USE_PERL5= YES + +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +MAN3= HTML::Summary.3 Text::Sentence.3 Lingua::JA::Jtruncate.3 + +do-configure: + @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +.include <bsd.port.mk> diff --git a/www/p5-HTML-Summary/distinfo b/www/p5-HTML-Summary/distinfo new file mode 100644 index 000000000000..fdbafcaef64a --- /dev/null +++ b/www/p5-HTML-Summary/distinfo @@ -0,0 +1 @@ +MD5 (HTML-Summary-0.017.tar.gz) = a7f29617a26a3f07b3f871751507d9ec diff --git a/www/p5-HTML-Summary/pkg-comment b/www/p5-HTML-Summary/pkg-comment new file mode 100644 index 000000000000..7a00a02e4a0d --- /dev/null +++ b/www/p5-HTML-Summary/pkg-comment @@ -0,0 +1 @@ +Produces summaries from the textual content of web pages diff --git a/www/p5-HTML-Summary/pkg-descr b/www/p5-HTML-Summary/pkg-descr new file mode 100644 index 000000000000..934414ca9a82 --- /dev/null +++ b/www/p5-HTML-Summary/pkg-descr @@ -0,0 +1,18 @@ +The HTML::Summary module produces summaries from the textual content of +web pages. It does so using the location heuristic, which determines the value +of a given sentence based on its position and status within the document; for +example, headings, section titles and opening paragraph sentences may be +favoured over other textual content. A LENGTH option can be used to restrict +the length of the summary produced. + +This distribution contains the HTML::Summary module, and some supporting +modules. The full list of modules is: + +HTML::Summary +Text::Sentence +Lingua::JA::Jcode +Lingua::JA::Jtruncate + + +--Dima +dima@Chg.RU diff --git a/www/p5-HTML-Summary/pkg-plist b/www/p5-HTML-Summary/pkg-plist new file mode 100644 index 000000000000..397db25596f5 --- /dev/null +++ b/www/p5-HTML-Summary/pkg-plist @@ -0,0 +1,10 @@ +lib/perl5/site_perl/%%PERL_VER%%/HTML/Summary.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/Sentence.pm +lib/perl5/site_perl/%%PERL_VER%%/Lingua/JA/Jcode.pm +lib/perl5/site_perl/%%PERL_VER%%/Lingua/JA/Jtruncate.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HTML/Summary/.packlist +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HTML/Summary +@dirrm lib/perl5/site_perl/%%PERL_VER%%/Lingua/JA +@dirrm lib/perl5/site_perl/%%PERL_VER%%/Lingua +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Text 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/HTML 2>/dev/null || true |