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>
This commit is contained in:
parent
e6f89f1bac
commit
7546b1cbd0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25197
@ -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
|
||||
|
28
www/p5-HTML-Summary/Makefile
Normal file
28
www/p5-HTML-Summary/Makefile
Normal file
@ -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>
|
1
www/p5-HTML-Summary/distinfo
Normal file
1
www/p5-HTML-Summary/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (HTML-Summary-0.017.tar.gz) = a7f29617a26a3f07b3f871751507d9ec
|
1
www/p5-HTML-Summary/pkg-comment
Normal file
1
www/p5-HTML-Summary/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Produces summaries from the textual content of web pages
|
18
www/p5-HTML-Summary/pkg-descr
Normal file
18
www/p5-HTML-Summary/pkg-descr
Normal file
@ -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
|
10
www/p5-HTML-Summary/pkg-plist
Normal file
10
www/p5-HTML-Summary/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user