summaryrefslogtreecommitdiff
path: root/www/p5-WWW-Search-Google/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-WWW-Search-Google/Makefile')
-rw-r--r--www/p5-WWW-Search-Google/Makefile17
1 files changed, 11 insertions, 6 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