aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-WWW-Search-Google
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-07-26 21:55:05 +0800
committerpat <pat@FreeBSD.org>2002-07-26 21:55:05 +0800
commit7a63b969b3cf16f3516f6e64b74338978e8cf956 (patch)
treea0af56dbb8290c96ed929ace4fb8375436633d68 /www/p5-WWW-Search-Google
parent9be35da415a68afd5e9afa869ca193bf2cfc95b3 (diff)
downloadfreebsd-ports-graphics-7a63b969b3cf16f3516f6e64b74338978e8cf956.tar.gz
freebsd-ports-graphics-7a63b969b3cf16f3516f6e64b74338978e8cf956.tar.zst
freebsd-ports-graphics-7a63b969b3cf16f3516f6e64b74338978e8cf956.zip
- 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 <erwin@lansing.dk>
Diffstat (limited to 'www/p5-WWW-Search-Google')
-rw-r--r--www/p5-WWW-Search-Google/Makefile17
-rw-r--r--www/p5-WWW-Search-Google/distinfo2
-rw-r--r--www/p5-WWW-Search-Google/pkg-descr13
3 files changed, 23 insertions, 9 deletions
diff --git a/www/p5-WWW-Search-Google/Makefile b/www/p5-WWW-Search-Google/Makefile
index 2efeace2b91..c0c0bc124df 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 ac3540f5391..57a3ea18d6f 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 7fda597aae9..9f3b6ca7ca5 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 <acme@astray.com>
+WWW: http://search.cpan.org/search?dist=WWW-Search-Google