From a265c299f54a397b3ac8e994e9c24c424c78b642 Mon Sep 17 00:00:00 2001 From: Patrick Li Date: Fri, 26 Jul 2002 13:55:05 +0000 Subject: - Unbreak and update to 0.19 - Bump PORTEPOCH - rewrite pkg-descr to note that a valid key is required from Google - Give maintainership to submitter PR: ports/41005 Submitted by: Erwin Lansing --- www/p5-WWW-Search-Google/Makefile | 17 +++++++++++------ www/p5-WWW-Search-Google/distinfo | 2 +- www/p5-WWW-Search-Google/pkg-descr | 13 +++++++++++-- 3 files changed, 23 insertions(+), 9 deletions(-) (limited to 'www') diff --git a/www/p5-WWW-Search-Google/Makefile b/www/p5-WWW-Search-Google/Makefile index 2efeace2b918..c0c0bc124df6 100644 --- a/www/p5-WWW-Search-Google/Makefile +++ b/www/p5-WWW-Search-Google/Makefile @@ -6,20 +6,25 @@ # PORTNAME= WWW-Search-Google -PORTVERSION= 2.21 +PORTVERSION= 0.19 +PORTEPOCH= 1 CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= WWW/JSMYSER +MASTER_SITE_SUBDIR= WWW PKGNAMEPREFIX= p5- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= erwin@lansing.dk -RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/WWW/Search.pm:${PORTSDIR}/www/p5-WWW-Search - -BROKEN= 'Port no longer returns search results from Google' +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/WWW/Search.pm:${PORTSDIR}/www/p5-WWW-Search \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/SOAP/Lite.pm:${PORTSDIR}/net/p5-SOAP-Lite +RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes +post-patch: + @${PERL} -pi -e '$$_="" if /no warnings/;' \ + ${WRKSRC}/Google.pm + MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= WWW::Search::Google.3 diff --git a/www/p5-WWW-Search-Google/distinfo b/www/p5-WWW-Search-Google/distinfo index ac3540f5391d..57a3ea18d6fe 100644 --- a/www/p5-WWW-Search-Google/distinfo +++ b/www/p5-WWW-Search-Google/distinfo @@ -1 +1 @@ -MD5 (WWW-Search-Google-2.21.tar.gz) = 6d1864cccfaedafbf9be976b15e70bc7 +MD5 (WWW-Search-Google-0.19.tar.gz) = e465f8be84ad7c39c1bcffe832aa91eb diff --git a/www/p5-WWW-Search-Google/pkg-descr b/www/p5-WWW-Search-Google/pkg-descr index 7fda597aae93..9f3b6ca7ca5d 100644 --- a/www/p5-WWW-Search-Google/pkg-descr +++ b/www/p5-WWW-Search-Google/pkg-descr @@ -1,2 +1,11 @@ -A Google specialization of Perl's WWW::Search module for making and -interpreting Google searches. +This class is a Google specialization of WWW::Search. It handles +searching Google http://www.google.com/ using its new SOAP API +http://www.google.com/apis/. + +All interaction should be done through WWW::Search objects. + +Note that you must register for a Google Web API account and have a +valid Google API license key before using this module. + +Author: Leon Brocard +WWW: http://search.cpan.org/search?dist=WWW-Search-Google -- cgit v1.2.3