1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

- Add missing DEPENDS

- Add LICENSE
- Add a FreeBSD patch to provide a relevant message when running
perl built-in tests from within a poudriere jail, which does not
have connection to the Internet.

PR:		194873
Submitted by:	svysh.fbsd@gmail.com
This commit is contained in:
Wen Heping 2014-12-31 14:15:55 +00:00
parent 286229a52b
commit de9070e5ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375886
2 changed files with 27 additions and 2 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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;