726d299233
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().
19 lines
402 B
Makefile
19 lines
402 B
Makefile
# $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>
|