diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2006-05-02 09:13:50 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2006-05-02 09:13:50 +0000 |
commit | b7ca3be57f77f3482195a282e22405f042360792 (patch) | |
tree | 33872780400db779c1329620c7d1c5f7be17cd5d | |
parent | - Fix build under 4.x: (diff) |
It is suitable for the scraping of a popular bbs of Japan.
other BBS and the news sites and other sites are also possible by the
addition of the plugin for scraping.
Please take care with the flood control to an excessive access.
WWW: http://search.cpan.org/dist/WWW-2ch/
PR: ports/94065
Submitted by: TAKAHASHI Kaoru <kaoru@kaisei.org>
Notes
Notes:
svn path=/head/; revision=161172
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-WWW-2ch/Makefile | 36 | ||||
-rw-r--r-- | www/p5-WWW-2ch/distinfo | 3 | ||||
-rw-r--r-- | www/p5-WWW-2ch/pkg-descr | 6 | ||||
-rw-r--r-- | www/p5-WWW-2ch/pkg-plist | 21 |
5 files changed, 67 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index b8f5c32b2dd1..bc8eabae21dd 100644 --- a/www/Makefile +++ b/www/Makefile @@ -706,6 +706,7 @@ SUBDIR += p5-URI-Sequin SUBDIR += p5-W3C-LinkChecker SUBDIR += p5-W3C-LogValidator + SUBDIR += p5-WWW-2ch SUBDIR += p5-WWW-Babelfish SUBDIR += p5-WWW-Curl SUBDIR += p5-WWW-Dilbert diff --git a/www/p5-WWW-2ch/Makefile b/www/p5-WWW-2ch/Makefile new file mode 100644 index 000000000000..994f62cea8a9 --- /dev/null +++ b/www/p5-WWW-2ch/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: p5-WWW-2ch +# Date created: 2006-02-28 +# Whom: TAKAHASHI Kaoru <kaoru@kaisei.org> +# +# $FreeBSD$ +# + +PORTNAME= WWW-2ch +PORTVERSION= 0.07 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= WWW +PKGNAMEPREFIX= p5- + +MAINTAINER= kaoru@kaisei.org +COMMENT= "Perl module for scraping of 2ch.net BBS" + +RUN_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \ + ${SITE_PERL}/Class/Accessor/Fast.pm:${PORTSDIR}/devel/p5-Class-Accessor + +PERL_CONFIGURE= yes + +MAN3= WWW::2ch.3 \ + WWW::2ch::Plugin::Base.3 \ + WWW::2ch::Res.3 \ + WWW::2ch::Subject.3 \ + WWW::2ch::Dat.3 \ + WWW::2ch::Plugin::Jbbs.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 50600 +IGNORE= requires perl 5.6.0 or higher. Please install lang/perl5.8 and try again +.endif + +.include <bsd.port.post.mk> diff --git a/www/p5-WWW-2ch/distinfo b/www/p5-WWW-2ch/distinfo new file mode 100644 index 000000000000..b7a44b29f3e0 --- /dev/null +++ b/www/p5-WWW-2ch/distinfo @@ -0,0 +1,3 @@ +MD5 (WWW-2ch-0.07.tar.gz) = d2a6c6f7f0606bc8ea0590a9d5d1b97e +SHA256 (WWW-2ch-0.07.tar.gz) = bfcc9b450fe2bd569acaa07bf81419833db421975a75da56a1860b546746059f +SIZE (WWW-2ch-0.07.tar.gz) = 7338 diff --git a/www/p5-WWW-2ch/pkg-descr b/www/p5-WWW-2ch/pkg-descr new file mode 100644 index 000000000000..8615af67388e --- /dev/null +++ b/www/p5-WWW-2ch/pkg-descr @@ -0,0 +1,6 @@ +It is suitable for the scraping of a popular bbs of Japan. +other BBS and the news sites and other sites are also possible by the +addition of the plugin for scraping. +Please take care with the flood control to an excessive access. + +WWW: http://search.cpan.org/dist/WWW-2ch/ diff --git a/www/p5-WWW-2ch/pkg-plist b/www/p5-WWW-2ch/pkg-plist new file mode 100644 index 000000000000..0e30e4662d53 --- /dev/null +++ b/www/p5-WWW-2ch/pkg-plist @@ -0,0 +1,21 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/2ch/.packlist +%%SITE_PERL%%/WWW/2ch.pm +%%SITE_PERL%%/WWW/2ch/Cache.pm +%%SITE_PERL%%/WWW/2ch/Cache/File.pm +%%SITE_PERL%%/WWW/2ch/Dat.pm +%%SITE_PERL%%/WWW/2ch/Plugin/Base.pm +@comment %%SITE_PERL%%/WWW/2ch/Plugin/Pinkbbs.pm +%%SITE_PERL%%/WWW/2ch/Plugin/Jbbs.pm +%%SITE_PERL%%/WWW/2ch/Res.pm +%%SITE_PERL%%/WWW/2ch/Setting.pm +%%SITE_PERL%%/WWW/2ch/Subject.pm +%%SITE_PERL%%/WWW/2ch/UserAgent.pm +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/2ch/ +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/ +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%% +@dirrm %%SITE_PERL%%/WWW/2ch/Cache +@dirrm %%SITE_PERL%%/WWW/2ch/Plugin +@dirrm %%SITE_PERL%%/WWW/2ch +@dirrmtry %%SITE_PERL%%/WWW |