aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Net-SSH2
diff options
context:
space:
mode:
authorPhilippe Audeoud <jadawin@FreeBSD.org>2018-06-20 19:04:54 +0000
committerPhilippe Audeoud <jadawin@FreeBSD.org>2018-06-20 19:04:54 +0000
commit5d495beb1a804d3d59f8a5138d412f593d564138 (patch)
treed0321e970a4aa2e5852d31d9fc29fe10056c9fef /net/p5-Net-SSH2
parent56dfd76a946dfe9faea1255e1b2f082e0ba8d06a (diff)
downloadports-5d495beb1a804d3d59f8a5138d412f593d564138.tar.gz
ports-5d495beb1a804d3d59f8a5138d412f593d564138.zip
Notes
Diffstat (limited to 'net/p5-Net-SSH2')
-rw-r--r--net/p5-Net-SSH2/Makefile14
-rw-r--r--net/p5-Net-SSH2/distinfo5
-rw-r--r--net/p5-Net-SSH2/pkg-plist25
3 files changed, 30 insertions, 14 deletions
diff --git a/net/p5-Net-SSH2/Makefile b/net/p5-Net-SSH2/Makefile
index 32d4798d959f..360450117545 100644
--- a/net/p5-Net-SSH2/Makefile
+++ b/net/p5-Net-SSH2/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= Net-SSH2
-PORTVERSION= 0.58
+PORTVERSION= 0.69
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,7 +15,17 @@ LICENSE_COMB= dual
LIB_DEPENDS= libssh2.so:security/libssh2
-USES= perl5
+USES= perl5
USE_PERL5= configure
+CFLAGS+= -I${LOCALBASE}/include
+PORTEXAMPLES= example/*
+
+OPTIONS_DEFINE= EXAMPLES
+OPTIONS_SUB= yes
+
+post-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR})
+
.include <bsd.port.mk>
diff --git a/net/p5-Net-SSH2/distinfo b/net/p5-Net-SSH2/distinfo
index 9c0d03e58db8..a63c0392bcd2 100644
--- a/net/p5-Net-SSH2/distinfo
+++ b/net/p5-Net-SSH2/distinfo
@@ -1,2 +1,3 @@
-SHA256 (Net-SSH2-0.58.tar.gz) = 1d1f5f4cdf267ded0cb17ace6def2204f1891fc1274e248e7332dcd48f6a189e
-SIZE (Net-SSH2-0.58.tar.gz) = 124853
+TIMESTAMP = 1529489736
+SHA256 (Net-SSH2-0.69.tar.gz) = 2fc85e1434b8a6e77142d85e3cea5a081ca71da5d02c4212b9970d3a3924baa6
+SIZE (Net-SSH2-0.69.tar.gz) = 140601
diff --git a/net/p5-Net-SSH2/pkg-plist b/net/p5-Net-SSH2/pkg-plist
index f4ea1d731b54..23f405d11e7c 100644
--- a/net/p5-Net-SSH2/pkg-plist
+++ b/net/p5-Net-SSH2/pkg-plist
@@ -1,18 +1,23 @@
-%%PERL5_MAN3%%/Net::SSH2.3.gz
-%%PERL5_MAN3%%/Net::SSH2::Channel.3.gz
-%%PERL5_MAN3%%/Net::SSH2::Dir.3.gz
-%%PERL5_MAN3%%/Net::SSH2::File.3.gz
-%%SITE_ARCH%%/Net/SSH2/KnownHosts.pm
-%%PERL5_MAN3%%/Net::SSH2::Listener.3.gz
-%%PERL5_MAN3%%/Net::SSH2::PublicKey.3.gz
-%%PERL5_MAN3%%/Net::SSH2::SFTP.3.gz
%%SITE_ARCH%%/Net/SSH2.pm
%%SITE_ARCH%%/Net/SSH2/Channel.pm
+%%SITE_ARCH%%/Net/SSH2/Constants.pm
%%SITE_ARCH%%/Net/SSH2/Dir.pm
%%SITE_ARCH%%/Net/SSH2/File.pm
-%%PERL5_MAN3%%/Net::SSH2::KnownHosts.3.gz
+%%SITE_ARCH%%/Net/SSH2/KnownHosts.pm
%%SITE_ARCH%%/Net/SSH2/Listener.pm
%%SITE_ARCH%%/Net/SSH2/PublicKey.pm
%%SITE_ARCH%%/Net/SSH2/SFTP.pm
%%SITE_ARCH%%/auto/Net/SSH2/SSH2.so
-%%SITE_ARCH%%/auto/Net/SSH2/autosplit.ix
+%%PERL5_MAN3%%/Net::SSH2.3.gz
+%%PERL5_MAN3%%/Net::SSH2::Channel.3.gz
+%%PERL5_MAN3%%/Net::SSH2::Dir.3.gz
+%%PERL5_MAN3%%/Net::SSH2::File.3.gz
+%%PERL5_MAN3%%/Net::SSH2::KnownHosts.3.gz
+%%PERL5_MAN3%%/Net::SSH2::Listener.3.gz
+%%PERL5_MAN3%%/Net::SSH2::PublicKey.3.gz
+%%PERL5_MAN3%%/Net::SSH2::SFTP.3.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/benchmark.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/read.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rt58911.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rt80011.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scat.pl