aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-Scraper-ISBN-Amazon_Driver
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-11-09 14:20:38 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-11-09 14:20:38 +0000
commit964436c8b5e8135827a8695761934d8610827e49 (patch)
tree55967422e682cf3fc6bfb496f7f05fe86f1948a1 /www/p5-WWW-Scraper-ISBN-Amazon_Driver
parentfe9cf815066e60dbedb3b1fe4aa74e3b10697d4e (diff)
downloadports-964436c8b5e8135827a8695761934d8610827e49.tar.gz
ports-964436c8b5e8135827a8695761934d8610827e49.zip
Searches for book information from the (US) Amazon online catalog.
WWW: http://search.cpan.org/dist/WWW-Scraper-ISBN-Amazon_Driver/ PR: ports/88669 Submitted by: Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
Notes
Notes: svn path=/head/; revision=147712
Diffstat (limited to 'www/p5-WWW-Scraper-ISBN-Amazon_Driver')
-rw-r--r--www/p5-WWW-Scraper-ISBN-Amazon_Driver/Makefile36
-rw-r--r--www/p5-WWW-Scraper-ISBN-Amazon_Driver/distinfo3
-rw-r--r--www/p5-WWW-Scraper-ISBN-Amazon_Driver/pkg-descr3
-rw-r--r--www/p5-WWW-Scraper-ISBN-Amazon_Driver/pkg-plist10
4 files changed, 52 insertions, 0 deletions
diff --git a/www/p5-WWW-Scraper-ISBN-Amazon_Driver/Makefile b/www/p5-WWW-Scraper-ISBN-Amazon_Driver/Makefile
new file mode 100644
index 000000000000..3109b6b2e821
--- /dev/null
+++ b/www/p5-WWW-Scraper-ISBN-Amazon_Driver/Makefile
@@ -0,0 +1,36 @@
+# Ports collection makefile for: p5-WWW-Scraper-ISBN-Amazon_Driver
+# Date created: Nov 8, 2005
+# Whom: Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= WWW-Scraper-ISBN-Amazon_Driver
+PORTVERSION= 0.05
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= WWW
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Search driver for the (US) Amazon online catalog
+
+BUILD_DEPENDS= ${SITE_PERL}/WWW/Scraper/ISBN.pm:${PORTSDIR}/www/p5-WWW-Scraper-ISBN \
+ ${SITE_PERL}/WWW/Scraper/ISBN/Record.pm:${PORTSDIR}/www/p5-WWW-Scraper-ISBN-Record \
+ ${SITE_PERL}/WWW/Scraper/ISBN/Driver.pm:${PORTSDIR}/www/p5-WWW-Scraper-ISBN-Driver \
+ ${SITE_PERL}/WWW/Mechanize.pm:${PORTSDIR}/www/p5-WWW-Mechanize \
+ ${SITE_PERL}/Template/Extract.pm:${PORTSDIR}/textproc/p5-Template-Extract
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= WWW::Scraper::ISBN::AmazonUK_Driver.3 \
+ WWW::Scraper::ISBN::AmazonUS_Driver.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= "Requires perl 5.6.x or higher"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-WWW-Scraper-ISBN-Amazon_Driver/distinfo b/www/p5-WWW-Scraper-ISBN-Amazon_Driver/distinfo
new file mode 100644
index 000000000000..b7f5bee84ea8
--- /dev/null
+++ b/www/p5-WWW-Scraper-ISBN-Amazon_Driver/distinfo
@@ -0,0 +1,3 @@
+MD5 (WWW-Scraper-ISBN-Amazon_Driver-0.05.tar.gz) = f25c6a41dfd2c4733af668e235b0f594
+SHA256 (WWW-Scraper-ISBN-Amazon_Driver-0.05.tar.gz) = 3105e31270b6669287c9a04902f9c952c6effd89257659d9aad98ad9e334ae55
+SIZE (WWW-Scraper-ISBN-Amazon_Driver-0.05.tar.gz) = 4428
diff --git a/www/p5-WWW-Scraper-ISBN-Amazon_Driver/pkg-descr b/www/p5-WWW-Scraper-ISBN-Amazon_Driver/pkg-descr
new file mode 100644
index 000000000000..8c880ec2ac95
--- /dev/null
+++ b/www/p5-WWW-Scraper-ISBN-Amazon_Driver/pkg-descr
@@ -0,0 +1,3 @@
+Searches for book information from the (US) Amazon online catalog.
+
+WWW: http://search.cpan.org/dist/WWW-Scraper-ISBN-Amazon_Driver/
diff --git a/www/p5-WWW-Scraper-ISBN-Amazon_Driver/pkg-plist b/www/p5-WWW-Scraper-ISBN-Amazon_Driver/pkg-plist
new file mode 100644
index 000000000000..f843f1ab11df
--- /dev/null
+++ b/www/p5-WWW-Scraper-ISBN-Amazon_Driver/pkg-plist
@@ -0,0 +1,10 @@
+%%SITE_PERL%%/WWW/Scraper/ISBN/AmazonUK_Driver.pm
+%%SITE_PERL%%/WWW/Scraper/ISBN/AmazonUS_Driver.pm
+@unexec rmdir %D/%%SITE_PERL%%/WWW/Scraper/ISBN 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/WWW/Scraper 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/WWW 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Scraper/ISBN/Amazon_Driver/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Scraper/ISBN/Amazon_Driver
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Scraper/ISBN 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Scraper 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW 2>/dev/null || true