diff options
Diffstat (limited to 'www/p5-HTML-Summary')
-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 |
5 files changed, 58 insertions, 0 deletions
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 |