diff options
author | edwin <edwin@FreeBSD.org> | 2003-01-30 04:30:45 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-01-30 04:30:45 +0000 |
commit | 1fd32662f8ac66d2ce1b468334371c3ac05d5c05 (patch) | |
tree | 84c83bf2b94d77ffb2c9bf8a1c4ed20c021f6e32 | |
parent | 05c8fad1e6c302720b6278bb388f6f6b7672271b (diff) | |
download | FreeBSD-ports-1fd32662f8ac66d2ce1b468334371c3ac05d5c05.zip FreeBSD-ports-1fd32662f8ac66d2ce1b468334371c3ac05d5c05.tar.gz |
Maintainer update net/p5-Net-Google to 0.52
update to 0.52
add dependency on File::Spec for perl < 5.6
PR: ports/47293
Submitted by: Erwin Lansing <erwin@lansing.dk>
-rw-r--r-- | net/p5-Net-Google/Makefile | 18 | ||||
-rw-r--r-- | net/p5-Net-Google/distinfo | 2 | ||||
-rw-r--r-- | net/p5-Net-Google/pkg-plist | 1 |
3 files changed, 17 insertions, 4 deletions
diff --git a/net/p5-Net-Google/Makefile b/net/p5-Net-Google/Makefile index 609893f..c24215e 100644 --- a/net/p5-Net-Google/Makefile +++ b/net/p5-Net-Google/Makefile @@ -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 @@ RUN_DEPENDS= ${BUILD_DEPENDS} 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> diff --git a/net/p5-Net-Google/distinfo b/net/p5-Net-Google/distinfo index c3ed59c..310cd0e 100644 --- a/net/p5-Net-Google/distinfo +++ b/net/p5-Net-Google/distinfo @@ -1 +1 @@ -MD5 (Net-Google-0.5.tar.gz) = 9761c8b8c94074e436d390cba7795fad +MD5 (Net-Google-0.52.tar.gz) = 2fa8826cb347d79a123405be66fcb0db diff --git a/net/p5-Net-Google/pkg-plist b/net/p5-Net-Google/pkg-plist index 6ab138c..22a3d9a 100644 --- a/net/p5-Net-Google/pkg-plist +++ b/net/p5-Net-Google/pkg-plist @@ -3,6 +3,7 @@ lib/perl5/site_perl/%%PERL_VER%%/Net/Google.pm 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 |