diff --git a/devel/p5-Git-PurePerl/Makefile b/devel/p5-Git-PurePerl/Makefile index 61df85d5769a..c968e8a14f35 100644 --- a/devel/p5-Git-PurePerl/Makefile +++ b/devel/p5-Git-PurePerl/Makefile @@ -3,7 +3,7 @@ PORTNAME= Git-PurePerl PORTVERSION= 0.50 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:BROQ @@ -12,7 +12,11 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Pure Perl interface to Git repositories +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + BUILD_DEPENDS= p5-Archive-Extract>=0:${PORTSDIR}/archivers/p5-Archive-Extract \ + p5-Config-GitLike>=0:${PORTSDIR}/devel/p5-Config-GitLike \ p5-Data-Stream-Bulk>=0:${PORTSDIR}/devel/p5-Data-Stream-Bulk \ p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \ p5-MooseX-StrictConstructor>=0:${PORTSDIR}/devel/p5-MooseX-StrictConstructor \ @@ -20,10 +24,15 @@ BUILD_DEPENDS= p5-Archive-Extract>=0:${PORTSDIR}/archivers/p5-Archive-Extract \ p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \ p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \ p5-File-Find-Rule>0:${PORTSDIR}/devel/p5-File-Find-Rule \ - p5-IO-Digest>0:${PORTSDIR}/devel/p5-IO-Digest + p5-IO-Digest>0:${PORTSDIR}/devel/p5-IO-Digest \ + p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-Test-utf8>=0:${PORTSDIR}/devel/p5-Test-utf8 USES= perl5 USE_PERL5= configure +NO_ARCH= yes + +#pre-install: test .include diff --git a/devel/p5-Git-PurePerl/files/patch-t_protocol__gpp.t b/devel/p5-Git-PurePerl/files/patch-t_protocol__gpp.t new file mode 100644 index 000000000000..b5109cc3e03f --- /dev/null +++ b/devel/p5-Git-PurePerl/files/patch-t_protocol__gpp.t @@ -0,0 +1,16 @@ +--- t/protocol_gpp.t.orig 2013-08-26 11:24:05 UTC ++++ t/protocol_gpp.t +@@ -6,6 +6,13 @@ use IO::File; + use Path::Class; + use Test::More; + ++my $socket = IO::Socket::INET->new("www.google.com:80"); ++if ($socket) { ++ close ($socket); ++} else { ++ plan skip_all => 'No Internet connection?'; ++} ++ + my $directory = 'test-protocol'; + dir($directory)->rmtree; +