aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2006-05-03 16:51:39 +0000
committerErwin Lansing <erwin@FreeBSD.org>2006-05-03 16:51:39 +0000
commit99ee0f0224bf63ef4c2056bd74044d4704316308 (patch)
tree25ab73900e3a297d755731e541ead4616387a213 /japanese
parent485163afc07913cecd353f1ee17e8f0a3f82eeb5 (diff)
downloadports-99ee0f0224bf63ef4c2056bd74044d4704316308.tar.gz
ports-99ee0f0224bf63ef4c2056bd74044d4704316308.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
Notes
Notes: svn path=/head/; revision=161284
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 498d25211f3f..e86e8545286e 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 000000000000..994f62cea8a9
--- /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 000000000000..b7a44b29f3e0
--- /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 000000000000..8615af67388e
--- /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 000000000000..0e30e4662d53
--- /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