5db6b69ce0
Readability algorithm to detect the main body of the page, usually skipping headers, footers, navigation, etc. WWW: http://search.cpan.org/dist/HTML-ExtractMain/ PR: ports/163557 Submitted by: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
31 lines
755 B
Makefile
31 lines
755 B
Makefile
# New ports collection makefile for: HTML::ExtractMain
|
|
# Date created: 2011-12-23
|
|
# Whom: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= HTML-ExtractMain
|
|
PORTVERSION= 0.62
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= jnlin@csie.nctu.edu.tw
|
|
COMMENT= Perl extension to extract main content of a web page
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
RUN_DEPENDS= p5-HTML-Tree>=3.23:${PORTSDIR}/www/p5-HTML-Tree \
|
|
p5-Object-Destroyer>=2:${PORTSDIR}/devel/p5-Object-Destroyer
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
TEST_DEPENDS= p5-File-Slurp>=9999.12:${PORTSDIR}/devel/p5-File-Slurp \
|
|
p5-HTML-Format>=2.04:${PORTSDIR}/textproc/p5-HTML-Format
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= HTML::ExtractMain.3
|
|
|
|
.include <bsd.port.mk>
|