diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2002-06-07 20:22:28 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2002-06-07 20:22:28 +0000 |
commit | 19b31801161a95e0e398da546376587d3066a87c (patch) | |
tree | 5018b91e149a0c09deeb27eec2e4d0195f7b634a /www/p5-WWW-Automate | |
parent | 72def5da57237a481bd1b77229d325b74cc629d3 (diff) | |
download | ports-19b31801161a95e0e398da546376587d3066a87c.tar.gz ports-19b31801161a95e0e398da546376587d3066a87c.zip |
Notes
Diffstat (limited to 'www/p5-WWW-Automate')
-rw-r--r-- | www/p5-WWW-Automate/Makefile | 33 | ||||
-rw-r--r-- | www/p5-WWW-Automate/distinfo | 1 | ||||
-rw-r--r-- | www/p5-WWW-Automate/pkg-comment | 1 | ||||
-rw-r--r-- | www/p5-WWW-Automate/pkg-descr | 12 | ||||
-rw-r--r-- | www/p5-WWW-Automate/pkg-plist | 5 |
5 files changed, 52 insertions, 0 deletions
diff --git a/www/p5-WWW-Automate/Makefile b/www/p5-WWW-Automate/Makefile new file mode 100644 index 000000000000..9336d3f477a8 --- /dev/null +++ b/www/p5-WWW-Automate/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: p5-WWW-Automate +# Date created: 07 June 2002 +# Whom: Anton Berezin <tobez@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= WWW-Automate +PORTVERSION= 0.20 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= WWW +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@FreeBSD.org + +BUILD_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \ + ${SITE_PERL}/${PERL_ARCH}/HTML/TokeParser.pm:${PORTSDIR}/www/p5-HTML-Parser \ + ${SITE_PERL}/${PERL_ARCH}/Clone.pm:${PORTSDIR}/devel/p5-Clone \ + ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= WWW::Automate.3 + +post-patch: + ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \ + ${WRKSRC}/lib/WWW/Automate.pm + +.include <bsd.port.mk> diff --git a/www/p5-WWW-Automate/distinfo b/www/p5-WWW-Automate/distinfo new file mode 100644 index 000000000000..ea34eeeec221 --- /dev/null +++ b/www/p5-WWW-Automate/distinfo @@ -0,0 +1 @@ +MD5 (WWW-Automate-0.20.tar.gz) = 0ab6c4cb5a6b62e760acbd854e16d684 diff --git a/www/p5-WWW-Automate/pkg-comment b/www/p5-WWW-Automate/pkg-comment new file mode 100644 index 000000000000..29f549b71b97 --- /dev/null +++ b/www/p5-WWW-Automate/pkg-comment @@ -0,0 +1 @@ +A perl5 module to automate interaction with websites diff --git a/www/p5-WWW-Automate/pkg-descr b/www/p5-WWW-Automate/pkg-descr new file mode 100644 index 000000000000..4ae6e59e991c --- /dev/null +++ b/www/p5-WWW-Automate/pkg-descr @@ -0,0 +1,12 @@ +This module is intended to help you automate interaction with a website. +It bears a not-very-remarkable outwards resemblance to WWW::Chat, on +which it is based. The main difference between this module and +WWW::Chat is that WWW::Chat requires a pre-processing stage before you +can run your script, whereas WWW::Automate does not. + +WWW::Automate is a subclass of LWP::UserAgent, so anything you can do +with an LWP::UserAgent, you can also do with this. See LWP::UserAgent +for more information on the possibilities. + +Author: Kirrily 'Skud' Robert <skud@infotrope.net> +WWW: http://search.cpan.org/search?dist=WWW-Automate diff --git a/www/p5-WWW-Automate/pkg-plist b/www/p5-WWW-Automate/pkg-plist new file mode 100644 index 000000000000..7c9e801e3852 --- /dev/null +++ b/www/p5-WWW-Automate/pkg-plist @@ -0,0 +1,5 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/WWW/Automate/.packlist +lib/perl5/site_perl/%%PERL_VER%%/WWW/Automate.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/WWW/Automate +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/WWW 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/WWW 2>/dev/null || true |