64 lines
2.2 KiB
Makefile
64 lines
2.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= Scrappy
|
|
PORTVERSION= 0.94112090
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:AWNCORP
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= tobez@FreeBSD.org
|
|
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 \
|
|
p5-YAML-Syck>=0:${PORTSDIR}/textproc/p5-YAML-Syck
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
MAN1= scrappy.1
|
|
MAN3= Scrappy.3 \
|
|
Scrappy::Logger.3 \
|
|
Scrappy::Queue.3 \
|
|
Scrappy::Scraper::Control.3 \
|
|
Scrappy::Scraper::Parser.3 \
|
|
Scrappy::Session.3
|
|
|
|
NO_STAGE= yes
|
|
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>
|