aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Scrappy
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2012-11-15 17:20:13 +0800
committertobez <tobez@FreeBSD.org>2012-11-15 17:20:13 +0800
commit7fc3173a78da0479d05caf5f6d723ecd76c73033 (patch)
treec618b5d5d49bf8c192925417f21d494a8d5c4a31 /www/p5-Scrappy
parentab752cf334646e6934af98792922de64a54ad0eb (diff)
downloadfreebsd-ports-gnome-7fc3173a78da0479d05caf5f6d723ecd76c73033.tar.gz
freebsd-ports-gnome-7fc3173a78da0479d05caf5f6d723ecd76c73033.tar.zst
freebsd-ports-gnome-7fc3173a78da0479d05caf5f6d723ecd76c73033.zip
Update to 0.94112090.
Changes: http://cpansearch.perl.org/src/AWNCORP/Scrappy-0.94112090/Changes Feature safe: yes
Diffstat (limited to 'www/p5-Scrappy')
-rw-r--r--www/p5-Scrappy/Makefile42
-rw-r--r--www/p5-Scrappy/distinfo4
-rw-r--r--www/p5-Scrappy/pkg-plist26
3 files changed, 55 insertions, 17 deletions
diff --git a/www/p5-Scrappy/Makefile b/www/p5-Scrappy/Makefile
index 50d05137cc2b..8204e55f615a 100644
--- a/www/p5-Scrappy/Makefile
+++ b/www/p5-Scrappy/Makefile
@@ -1,12 +1,7 @@
-# New ports collection makefile for: www/p5-Scrappy
-# Date created: 27 January 2011
-# Whom: Anton Berezin <tobez@FreeBSD.org>
-#
# $FreeBSD$
-#
PORTNAME= Scrappy
-PORTVERSION= 0.62
+PORTVERSION= 0.94112090
CATEGORIES= www perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:AWNCORP
@@ -17,11 +12,18 @@ COMMENT= All Powerful Web Harvester, Spider, Scraper fully automated
BUILD_DEPENDS= p5-File-ShareDir-Install>=0.03:${PORTSDIR}/devel/p5-File-ShareDir-Install \
p5-Array-Unique>=0:${PORTSDIR}/devel/p5-Array-Unique \
+ p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
+ p5-DateTime-Format-SQLite>=0:${PORTSDIR}/devel/p5-DateTime-Format-SQLite \
+ p5-File-Find-Rule>=0:${PORTSDIR}/devel/p5-File-Find-Rule \
p5-File-ShareDir>=0:${PORTSDIR}/devel/p5-File-ShareDir \
p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp \
+ p5-File-Util>=0:${PORTSDIR}/devel/p5-File-Util \
p5-HTML-Tree>=0:${PORTSDIR}/www/p5-HTML-Tree \
+ p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
p5-Parallel-ForkManager>=0:${PORTSDIR}/devel/p5-Parallel-ForkManager \
+ p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \
p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \
+ p5-String-TT>=0:${PORTSDIR}/devel/p5-String-TT \
p5-URI>=0:${PORTSDIR}/net/p5-URI \
p5-WWW-Mechanize>=0:${PORTSDIR}/www/p5-WWW-Mechanize \
p5-Web-Scraper>=0:${PORTSDIR}/www/p5-Web-Scraper \
@@ -30,10 +32,30 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
+MAN1= scrappy.1
MAN3= Scrappy.3 \
- Scrappy::Crawler.3 \
- Scrappy::Doo.3 \
- Scrappy::Element.3 \
- Scrappy::Manual.3
+ Scrappy::Logger.3 \
+ Scrappy::Queue.3 \
+ Scrappy::Scraper::Control.3 \
+ Scrappy::Scraper::Parser.3 \
+ Scrappy::Session.3
+
+post-patch:
+ rm -f ${WRKSRC}/perltidy.pl
+ rm -f ${WRKSRC}/lib/Scrappy.pm.bak
+ rm -f ${WRKSRC}/lib/Scrappy/Action.pm.bak
+ rm -f ${WRKSRC}/lib/Scrappy/Logger.pm.bak
+ rm -f ${WRKSRC}/lib/Scrappy/Scraper.pm.bak
+ rm -f ${WRKSRC}/lib/Scrappy/Queue.pm.bak
+ rm -f ${WRKSRC}/lib/Scrappy/Session.pm.bak
+ rm -f ${WRKSRC}/lib/Scrappy/Project.pm.bak
+ rm -f ${WRKSRC}/lib/Scrappy/Plugin.pm.bak
+ rm -f ${WRKSRC}/lib/Scrappy/Action/Help.pm.bak
+ rm -f ${WRKSRC}/lib/Scrappy/Action/Generate.pm.bak
+ rm -f ${WRKSRC}/lib/Scrappy/Plugin/RandomProxy.pm.bak
+ rm -f ${WRKSRC}/lib/Scrappy/Project/Document.pm.bak
+ rm -f ${WRKSRC}/lib/Scrappy/Scraper/Control.pm.bak
+ rm -f ${WRKSRC}/lib/Scrappy/Scraper/Parser.pm.bak
+ rm -f ${WRKSRC}/lib/Scrappy/Scraper/UserAgent.pm.bak
.include <bsd.port.mk>
diff --git a/www/p5-Scrappy/distinfo b/www/p5-Scrappy/distinfo
index 842bd811f901..c5ac67921fec 100644
--- a/www/p5-Scrappy/distinfo
+++ b/www/p5-Scrappy/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Scrappy-0.62.tar.gz) = 8645e73134532551d6262dc29011d0fbc435fd46131906496a072eefa1e92c2c
-SIZE (Scrappy-0.62.tar.gz) = 49878
+SHA256 (Scrappy-0.94112090.tar.gz) = 8f6b49f8507f7d162ef9fe5cc9b29a3192dae5685eb7900b60d49a37fddcbda6
+SIZE (Scrappy-0.94112090.tar.gz) = 90430
diff --git a/www/p5-Scrappy/pkg-plist b/www/p5-Scrappy/pkg-plist
index d0cc71b67504..6a702587aeae 100644
--- a/www/p5-Scrappy/pkg-plist
+++ b/www/p5-Scrappy/pkg-plist
@@ -1,8 +1,20 @@
+bin/scrappy
%%SITE_PERL%%/Scrappy.pm
-%%SITE_PERL%%/Scrappy/Crawler.pm
-%%SITE_PERL%%/Scrappy/Doo.pm
-%%SITE_PERL%%/Scrappy/Element.pm
-%%SITE_PERL%%/Scrappy/Manual.pod
+%%SITE_PERL%%/Scrappy/Action.pm
+%%SITE_PERL%%/Scrappy/Action/Download.pm
+%%SITE_PERL%%/Scrappy/Action/Generate.pm
+%%SITE_PERL%%/Scrappy/Action/Help.pm
+%%SITE_PERL%%/Scrappy/Logger.pm
+%%SITE_PERL%%/Scrappy/Plugin.pm
+%%SITE_PERL%%/Scrappy/Plugin/RandomProxy.pm
+%%SITE_PERL%%/Scrappy/Project.pm
+%%SITE_PERL%%/Scrappy/Project/Document.pm
+%%SITE_PERL%%/Scrappy/Queue.pm
+%%SITE_PERL%%/Scrappy/Scraper.pm
+%%SITE_PERL%%/Scrappy/Scraper/Control.pm
+%%SITE_PERL%%/Scrappy/Scraper/Parser.pm
+%%SITE_PERL%%/Scrappy/Scraper/UserAgent.pm
+%%SITE_PERL%%/Scrappy/Session.pm
%%SITE_PERL%%/auto/share/dist/Scrappy/support/chrome.txt
%%SITE_PERL%%/auto/share/dist/Scrappy/support/explorer.txt
%%SITE_PERL%%/auto/share/dist/Scrappy/support/firefox.txt
@@ -11,7 +23,11 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Scrappy/.packlist
@dirrmtry %%SITE_PERL%%/auto/share/dist/Scrappy/support
@dirrmtry %%SITE_PERL%%/auto/share/dist/Scrappy
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Scrappy
@dirrmtry %%SITE_PERL%%/auto/share/dist
@dirrmtry %%SITE_PERL%%/auto/share
+@dirrmtry %%SITE_PERL%%/Scrappy/Scraper
+@dirrmtry %%SITE_PERL%%/Scrappy/Project
+@dirrmtry %%SITE_PERL%%/Scrappy/Plugin
+@dirrmtry %%SITE_PERL%%/Scrappy/Action
@dirrmtry %%SITE_PERL%%/Scrappy
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Scrappy