diff options
author | garga <garga@FreeBSD.org> | 2005-11-09 14:19:31 +0000 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2005-11-09 14:19:31 +0000 |
commit | 565f3cd93e9eac0dd7184792b3bbc70c1f90fd97 (patch) | |
tree | 1f5989853a6247bcf400bcf6412ff25d979ab569 /www | |
parent | 9b0c3966bcdfc59d78d01deb7db07b4635371cb5 (diff) | |
download | FreeBSD-ports-565f3cd93e9eac0dd7184792b3bbc70c1f90fd97.zip FreeBSD-ports-565f3cd93e9eac0dd7184792b3bbc70c1f90fd97.tar.gz |
The WWW::Scraper::ISBN class was built as a way to retrieve information on
books from multiple sources easily. It utilizes at least one driver
implemented as a subclass of WWW::Scraper::ISBN::Driver, each of which is
designed to scrape from a single source. Because we found that different
sources had different information available on different books, we designed
a basic interface that could be implemented in whatever ways necessary to
retrieve the desired information.
WWW: http://search.cpan.org/dist/WWW-Scraper-ISBN/
PR: ports/88667
Submitted by: Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-WWW-Scraper-ISBN/Makefile | 32 | ||||
-rw-r--r-- | www/p5-WWW-Scraper-ISBN/distinfo | 3 | ||||
-rw-r--r-- | www/p5-WWW-Scraper-ISBN/pkg-descr | 9 | ||||
-rw-r--r-- | www/p5-WWW-Scraper-ISBN/pkg-plist | 7 |
5 files changed, 52 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 0fe09cf..948d0ca 100644 --- a/www/Makefile +++ b/www/Makefile @@ -640,6 +640,7 @@ SUBDIR += p5-WWW-Mechanize-Shell SUBDIR += p5-WWW-Mixi SUBDIR += p5-WWW-Robot + SUBDIR += p5-WWW-Scraper-ISBN SUBDIR += p5-WWW-Scraper-ISBN-Driver SUBDIR += p5-WWW-Scraper-ISBN-Record SUBDIR += p5-WWW-Search diff --git a/www/p5-WWW-Scraper-ISBN/Makefile b/www/p5-WWW-Scraper-ISBN/Makefile new file mode 100644 index 0000000..f54f195 --- /dev/null +++ b/www/p5-WWW-Scraper-ISBN/Makefile @@ -0,0 +1,32 @@ +# ex:ts=8 +# Ports collection makefile for: p5-WWW-Scraper-ISBN +# Date created: Nov 8, 2005 +# Whom: Ying-Chieh Liao <ijliao@csie.nctu.edu.tw> +# +# $FreeBSD$ +# + +PORTNAME= WWW-Scraper-ISBN +PORTVERSION= 0.25 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= WWW +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= Retrieving information about books by ISBN number + +BUILD_DEPENDS= ${SITE_PERL}/WWW/Scraper/ISBN/Record.pm:${PORTSDIR}/www/p5-WWW-Scraper-ISBN-Record +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= YES + +MAN3= WWW::Scraper::ISBN.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/distinfo b/www/p5-WWW-Scraper-ISBN/distinfo new file mode 100644 index 0000000..c81c975 --- /dev/null +++ b/www/p5-WWW-Scraper-ISBN/distinfo @@ -0,0 +1,3 @@ +MD5 (WWW-Scraper-ISBN-0.25.tar.gz) = 5fb21da26f49881a71a21e52b8b066ce +SHA256 (WWW-Scraper-ISBN-0.25.tar.gz) = 7c61f8a9a6d21ffe9c7ba84762c63cabee8adbfb97d90dc704466f3712c767da +SIZE (WWW-Scraper-ISBN-0.25.tar.gz) = 3684 diff --git a/www/p5-WWW-Scraper-ISBN/pkg-descr b/www/p5-WWW-Scraper-ISBN/pkg-descr new file mode 100644 index 0000000..a0281a2 --- /dev/null +++ b/www/p5-WWW-Scraper-ISBN/pkg-descr @@ -0,0 +1,9 @@ +The WWW::Scraper::ISBN class was built as a way to retrieve information on +books from multiple sources easily. It utilizes at least one driver +implemented as a subclass of WWW::Scraper::ISBN::Driver, each of which is +designed to scrape from a single source. Because we found that different +sources had different information available on different books, we designed +a basic interface that could be implemented in whatever ways necessary to +retrieve the desired information. + +WWW: http://search.cpan.org/dist/WWW-Scraper-ISBN/ diff --git a/www/p5-WWW-Scraper-ISBN/pkg-plist b/www/p5-WWW-Scraper-ISBN/pkg-plist new file mode 100644 index 0000000..58ee4b8 --- /dev/null +++ b/www/p5-WWW-Scraper-ISBN/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/WWW/Scraper/ISBN.pm +@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/.packlist +@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 |