Import p5-WWW-IndexParser-0.91:
WWW::IndexParser is a module that uses LWP to fetch a URL from a web server. It then attempts to parse this page as if it were an auto generated index page. It returns an array of WWW::IndexParser::Entry objects, one per entry in the directory index that it has found. Each Entry has a set of methods: filename(), time(), size(), and others if supported by the autoindex generated: type() and size_units().
This commit is contained in:
parent
e83d187ceb
commit
726d299233
18
www/p5-WWW-IndexParser/Makefile
Normal file
18
www/p5-WWW-IndexParser/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/12/19 23:02:07 landry Exp $
|
||||
|
||||
COMMENT = fetch and parse the directory index from a web server
|
||||
|
||||
DISTNAME = WWW-IndexParser-0.91
|
||||
CATEGORIES = www
|
||||
|
||||
# perl
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM = Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MODULES = cpan
|
||||
RUN_DEPENDS = ::www/p5-libwww
|
||||
BUILD_DEPENDS = ${RUN_DEPENDS}
|
||||
|
||||
.include <bsd.port.mk>
|
5
www/p5-WWW-IndexParser/distinfo
Normal file
5
www/p5-WWW-IndexParser/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (WWW-IndexParser-0.91.tar.gz) = qnziQY54+sDv8HlmC5+rLw==
|
||||
RMD160 (WWW-IndexParser-0.91.tar.gz) = exe8qtfIbro1Z3onz7z66oWh2Qo=
|
||||
SHA1 (WWW-IndexParser-0.91.tar.gz) = esCP4DwWdD2mP0zp9whLEbItd58=
|
||||
SHA256 (WWW-IndexParser-0.91.tar.gz) = 62MziHmlhulicf5UoePsOEb8NGN7Z4z2u8+69p+gBL8=
|
||||
SIZE (WWW-IndexParser-0.91.tar.gz) = 6627
|
6
www/p5-WWW-IndexParser/pkg/DESCR
Normal file
6
www/p5-WWW-IndexParser/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
WWW::IndexParser is a module that uses LWP to fetch a URL from a web
|
||||
server. It then attempts to parse this page as if it were an auto
|
||||
generated index page. It returns an array of WWW::IndexParser::Entry
|
||||
objects, one per entry in the directory index that it has found. Each
|
||||
Entry has a set of methods: filename(), time(), size(), and others if
|
||||
supported by the autoindex generated: type() and size_units().
|
7
www/p5-WWW-IndexParser/pkg/PLIST
Normal file
7
www/p5-WWW-IndexParser/pkg/PLIST
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/12/19 23:02:07 landry Exp $
|
||||
${P5SITE}/WWW/
|
||||
${P5SITE}/WWW/IndexParser/
|
||||
${P5SITE}/WWW/IndexParser.pm
|
||||
${P5SITE}/WWW/IndexParser/Entry.pm
|
||||
@man man/man3p/WWW::IndexParser.3p
|
||||
@man man/man3p/WWW::IndexParser::Entry.3p
|
Loading…
Reference in New Issue
Block a user