Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2003 13:27:13 +0100 (CET)
From:      Erwin Lansing <erwin@lansing.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47293: update net/p5-Net-Google to 0.52 
Message-ID:  <20030121122713.ACBBCA9BA@backup-mx.droso.dk>

next in thread | raw e-mail | index | archive | help

>Number:         47293
>Category:       ports
>Synopsis:       update net/p5-Net-Google to 0.52
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 21 04:30:04 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Erwin Lansing
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
pil.dk 
>Environment:
System: FreeBSD panda.droso.net 4.7-STABLE FreeBSD 4.7-STABLE #13: Tue Jan 7 21:26:37 CET 2003 root@panda.droso.net:/usr/obj/usr/src/sys/PANDA i386


	
>Description:

update to 0.52
add dependency on File::Spec for perl < 5.6

I need this version for an update of www/p5-WWW-Search-Google

>How-To-Repeat:
	
>Fix:

	

--- p5-Net-Google.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/p5-Net-Google/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	4 Jun 2002 09:04:39 -0000	1.1
+++ Makefile	21 Jan 2003 10:10:05 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Net-Google
-PORTVERSION=	0.5
+PORTVERSION=	0.52
 CATEGORIES=	net perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Net
@@ -20,7 +20,19 @@
 PERL_CONFIGURE=	yes
 
 MAN3=		Net::Google.3 Net::Google::Cache.3 Net::Google::Response.3 \
-		Net::Google::Search.3 Net::Google::Spelling.3
+		Net::Google::Search.3 Net::Google::Spelling.3 \
+		Net::Google::Service.3
 MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+SITE_PERL?=     ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+
+PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|}
+PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|}
+
+.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 6
+BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 6
+
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/net/p5-Net-Google/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	4 Jun 2002 09:04:39 -0000	1.1
+++ distinfo	21 Jan 2003 10:10:05 -0000
@@ -1 +1 @@
-MD5 (Net-Google-0.5.tar.gz) = 9761c8b8c94074e436d390cba7795fad
+MD5 (Net-Google-0.52.tar.gz) = 2fa8826cb347d79a123405be66fcb0db
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/net/p5-Net-Google/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	4 Jun 2002 09:04:39 -0000	1.1
+++ pkg-plist	21 Jan 2003 10:10:05 -0000
@@ -3,6 +3,7 @@
 lib/perl5/site_perl/%%PERL_VER%%/Net/Google/Cache.pm
 lib/perl5/site_perl/%%PERL_VER%%/Net/Google/Response.pm
 lib/perl5/site_perl/%%PERL_VER%%/Net/Google/Search.pm
+lib/perl5/site_perl/%%PERL_VER%%/Net/Google/Service.pm
 lib/perl5/site_perl/%%PERL_VER%%/Net/Google/Services/GoogleSearch.wsdl
 lib/perl5/site_perl/%%PERL_VER%%/Net/Google/Spelling.pm
 @dirrm lib/perl5/site_perl/%%PERL_VER%%/Net/Google/Services
--- p5-Net-Google.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030121122713.ACBBCA9BA>