aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-07-26 13:55:05 +0000
committerPatrick Li <pat@FreeBSD.org>2002-07-26 13:55:05 +0000
commita265c299f54a397b3ac8e994e9c24c424c78b642 (patch)
treeff85d1795d2c36c5ee60d1df07e0e62fd4c303f2 /www
parent594857422414da4c8e2a58d771075916d9804146 (diff)
downloadports-a265c299f54a397b3ac8e994e9c24c424c78b642.tar.gz
ports-a265c299f54a397b3ac8e994e9c24c424c78b642.zip
Notes
Diffstat (limited to 'www')
-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 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 <acme@astray.com>
+WWW: http://search.cpan.org/search?dist=WWW-Search-Google