summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-11-09 14:20:38 +0000
committergarga <garga@FreeBSD.org>2005-11-09 14:20:38 +0000
commitff0b47bbc9bd3388da848cf4735c5b008a9316c5 (patch)
tree84e1379fda65227bbce64f908a5f26bd2a5be055
parent565f3cd93e9eac0dd7184792b3bbc70c1f90fd97 (diff)
downloadFreeBSD-ports-ff0b47bbc9bd3388da848cf4735c5b008a9316c5.zip
FreeBSD-ports-ff0b47bbc9bd3388da848cf4735c5b008a9316c5.tar.gz
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>
-rw-r--r--www/Makefile1
-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
5 files changed, 53 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 948d0ca..0d0c60e 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -641,6 +641,7 @@
SUBDIR += p5-WWW-Mixi
SUBDIR += p5-WWW-Robot
SUBDIR += p5-WWW-Scraper-ISBN
+ SUBDIR += p5-WWW-Scraper-ISBN-Amazon_Driver
SUBDIR += p5-WWW-Scraper-ISBN-Driver
SUBDIR += p5-WWW-Scraper-ISBN-Record
SUBDIR += p5-WWW-Search
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 0000000..3109b6b
--- /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 0000000..b7f5bee
--- /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 0000000..8c880ec
--- /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 0000000..f843f1ab
--- /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
OpenPOWER on IntegriCloud