aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/p5-MetaCPAN-Client/Makefile23
-rw-r--r--devel/p5-MetaCPAN-Client/distinfo6
-rw-r--r--devel/p5-MetaCPAN-Client/pkg-plist4
3 files changed, 24 insertions, 9 deletions
diff --git a/devel/p5-MetaCPAN-Client/Makefile b/devel/p5-MetaCPAN-Client/Makefile
index 26fc9648e860..8a2d5d00955e 100644
--- a/devel/p5-MetaCPAN-Client/Makefile
+++ b/devel/p5-MetaCPAN-Client/Makefile
@@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= MetaCPAN-Client
-PORTVERSION= 1.014000
+PORTVERSION= 2.000000
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CPAN:XSAWYERX
+MASTER_SITE_SUBDIR= CPAN:MICKEY
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
@@ -15,10 +15,13 @@ LICENSE= ART10 GPLv1
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= p5-JSON-MaybeXS>=0:converters/p5-JSON-MaybeXS \
+BUILD_DEPENDS= p5-IO-Socket-SSL>=1.42:security/p5-IO-Socket-SSL \
+ p5-JSON-MaybeXS>=0:converters/p5-JSON-MaybeXS \
p5-Moo>=0:devel/p5-Moo \
+ p5-Net-SSLeay>=1.49:security/p5-Net-SSLeay \
+ p5-Ref-Util>=0:devel/p5-Ref-Util \
p5-Safe-Isa>=0:devel/p5-Safe-Isa \
- p5-Search-Elasticsearch>=2.02:textproc/p5-Search-Elasticsearch \
+ p5-Search-Elasticsearch>=2.03:textproc/p5-Search-Elasticsearch \
p5-Try-Tiny>=0:lang/p5-Try-Tiny
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Fatal>=0:devel/p5-Test-Fatal \
@@ -28,4 +31,14 @@ NO_ARCH= yes
USE_PERL5= configure
USES= perl5
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502400
+BUILD_DEPENDS+= p5-HTTP-Tiny>=0.56:www/p5-HTTP-Tiny
+RUN_DEPENDS+= p5-HTTP-Tiny>=0.56:www/p5-HTTP-Tiny
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e '/use ExtUtils::MakeMaker/ s| 7.1101||' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-MetaCPAN-Client/distinfo b/devel/p5-MetaCPAN-Client/distinfo
index 9a9ed70ccf6f..da24d22fee85 100644
--- a/devel/p5-MetaCPAN-Client/distinfo
+++ b/devel/p5-MetaCPAN-Client/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1478368939
-SHA256 (MetaCPAN-Client-1.014000.tar.gz) = 12c41bed194ad263f81eebf7ae27f1b9810c5c0e4eaf779a85f4fd4e2a029f82
-SIZE (MetaCPAN-Client-1.014000.tar.gz) = 30322
+TIMESTAMP = 1479569051
+SHA256 (MetaCPAN-Client-2.000000.tar.gz) = e23a17f955938edaf7c5839ce71bf3a25f28ff727adfe1d3ccc1b6f1c20d1025
+SIZE (MetaCPAN-Client-2.000000.tar.gz) = 40775
diff --git a/devel/p5-MetaCPAN-Client/pkg-plist b/devel/p5-MetaCPAN-Client/pkg-plist
index 4ebd915402e1..40b35107a07e 100644
--- a/devel/p5-MetaCPAN-Client/pkg-plist
+++ b/devel/p5-MetaCPAN-Client/pkg-plist
@@ -1,6 +1,7 @@
%%SITE_PERL%%/MetaCPAN/Client.pm
%%SITE_PERL%%/MetaCPAN/Client/Author.pm
%%SITE_PERL%%/MetaCPAN/Client/Distribution.pm
+%%SITE_PERL%%/MetaCPAN/Client/DownloadURL.pm
%%SITE_PERL%%/MetaCPAN/Client/Favorite.pm
%%SITE_PERL%%/MetaCPAN/Client/File.pm
%%SITE_PERL%%/MetaCPAN/Client/Mirror.pm
@@ -11,8 +12,10 @@
%%SITE_PERL%%/MetaCPAN/Client/Request.pm
%%SITE_PERL%%/MetaCPAN/Client/ResultSet.pm
%%SITE_PERL%%/MetaCPAN/Client/Role/Entity.pm
+%%PERL5_MAN3%%/MetaCPAN::Client.3.gz
%%PERL5_MAN3%%/MetaCPAN::Client::Author.3.gz
%%PERL5_MAN3%%/MetaCPAN::Client::Distribution.3.gz
+%%PERL5_MAN3%%/MetaCPAN::Client::DownloadURL.3.gz
%%PERL5_MAN3%%/MetaCPAN::Client::Favorite.3.gz
%%PERL5_MAN3%%/MetaCPAN::Client::File.3.gz
%%PERL5_MAN3%%/MetaCPAN::Client::Mirror.3.gz
@@ -23,4 +26,3 @@
%%PERL5_MAN3%%/MetaCPAN::Client::Request.3.gz
%%PERL5_MAN3%%/MetaCPAN::Client::ResultSet.3.gz
%%PERL5_MAN3%%/MetaCPAN::Client::Role::Entity.3.gz
-%%PERL5_MAN3%%/MetaCPAN::Client.3.gz