aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-05-04 00:51:39 +0800
committererwin <erwin@FreeBSD.org>2006-05-04 00:51:39 +0800
commite8c9f18ac46491005e96d70483212632356f144b (patch)
treea7e1fda889ef0d5bf2eeb61d478d571a06f57d8f /japanese
parent2159b992d4b2ebe3a148f9db2d8b228032f64612 (diff)
downloadfreebsd-ports-graphics-e8c9f18ac46491005e96d70483212632356f144b.tar.gz
freebsd-ports-graphics-e8c9f18ac46491005e96d70483212632356f144b.tar.zst
freebsd-ports-graphics-e8c9f18ac46491005e96d70483212632356f144b.zip
Move p5-WWW-2ch to the japanese category along with the other
2ch BBS software. 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> Move sugested by: nobutaka
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/p5-WWW-2ch/Makefile36
-rw-r--r--japanese/p5-WWW-2ch/distinfo3
-rw-r--r--japanese/p5-WWW-2ch/pkg-descr6
-rw-r--r--japanese/p5-WWW-2ch/pkg-plist21
5 files changed, 67 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 498d25211f3..e86e8545286 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -277,6 +277,7 @@
SUBDIR += p5-PDFJ
SUBDIR += p5-Text-ChaSen
SUBDIR += p5-Text-Kakasi
+ SUBDIR += p5-WWW-2ch
SUBDIR += p5-jcode.pl
SUBDIR += p5-manual
SUBDIR += p5-mkres
diff --git a/japanese/p5-WWW-2ch/Makefile b/japanese/p5-WWW-2ch/Makefile
new file mode 100644
index 00000000000..994f62cea8a
--- /dev/null
+++ b/japanese/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/japanese/p5-WWW-2ch/distinfo b/japanese/p5-WWW-2ch/distinfo
new file mode 100644
index 00000000000..b7a44b29f3e
--- /dev/null
+++ b/japanese/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/japanese/p5-WWW-2ch/pkg-descr b/japanese/p5-WWW-2ch/pkg-descr
new file mode 100644
index 00000000000..8615af67388
--- /dev/null
+++ b/japanese/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/japanese/p5-WWW-2ch/pkg-plist b/japanese/p5-WWW-2ch/pkg-plist
new file mode 100644
index 00000000000..0e30e4662d5
--- /dev/null
+++ b/japanese/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