diff options
-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 609893fa3a8f..c24215e58743 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 c3ed59cb9a47..310cd0e6244f 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 6ab138c20972..22a3d9aacf06 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 |