aboutsummaryrefslogtreecommitdiffstats
path: root/finance
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2012-03-13 21:54:00 +0800
committerskreuzer <skreuzer@FreeBSD.org>2012-03-13 21:54:00 +0800
commit30e29a172ec14400a27ac86d377beb1c04e79788 (patch)
treeafee8f37b70045e66ff44d4cb0ff0e9f36455b05 /finance
parentcac2b6889e194cdf59fc7d2bfeb14608afe9e9a3 (diff)
downloadfreebsd-ports-gnome-30e29a172ec14400a27ac86d377beb1c04e79788.tar.gz
freebsd-ports-gnome-30e29a172ec14400a27ac86d377beb1c04e79788.tar.zst
freebsd-ports-gnome-30e29a172ec14400a27ac86d377beb1c04e79788.zip
Update to 0.004
Patch to work with newer JSON::RPC PR: ports/165566 Submitted by: Steve Wills <swills@freebsd.org> Feature safe: yes
Diffstat (limited to 'finance')
-rw-r--r--finance/p5-Finance-Bitcoin/Makefile15
-rw-r--r--finance/p5-Finance-Bitcoin/distinfo4
-rw-r--r--finance/p5-Finance-Bitcoin/files/patch-API.pm11
3 files changed, 25 insertions, 5 deletions
diff --git a/finance/p5-Finance-Bitcoin/Makefile b/finance/p5-Finance-Bitcoin/Makefile
index 1d9925e9b530..8f02724b30e0 100644
--- a/finance/p5-Finance-Bitcoin/Makefile
+++ b/finance/p5-Finance-Bitcoin/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Finance-Bitcoin
-PORTVERSION= 0.002
+PORTVERSION= 0.004
CATEGORIES= finance perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -17,9 +17,13 @@ COMMENT= Perl interface to a bitcoin instance
RUN_DEPENDS= p5-JSON-RPC>=0.96:${PORTSDIR}/devel/p5-JSON-RPC \
p5-Class-Accessor>=0.34:${PORTSDIR}/devel/p5-Class-Accessor \
p5-Module-Signature>=0.66:${PORTSDIR}/security/p5-Module-Signature \
- p5-Scalar-List-Utils>=1.23:${PORTSDIR}/lang/p5-Scalar-List-Utils
+ p5-Scalar-List-Utils>=1.23:${PORTSDIR}/lang/p5-Scalar-List-Utils \
+ p5-Any-Moose>=0:${PORTSDIR}/devel/p5-Any-Moose
BUILD_DEPENDS= p5-Test-Simple>=0.86:${PORTSDIR}/devel/p5-Test-Simple
+TEST_DEPENDS= p5-Any-Moose>=0:${PORTSDIR}/devel/p5-Any-Moose \
+ p5-Object-Authority>=0:${PORTSDIR}/devel/p5-Object-Authority
+
PERL_CONFIGURE= yes
MAN3= Finance::Bitcoin::API.3 \
@@ -27,4 +31,9 @@ MAN3= Finance::Bitcoin::API.3 \
Finance::Bitcoin::Wallet.3 \
Finance::Bitcoin.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-patch:
+ -@${RM} ${WRKSRC}/lib/Finance/Bitcoin/API.pm.orig
+
+.include <bsd.port.post.mk>
diff --git a/finance/p5-Finance-Bitcoin/distinfo b/finance/p5-Finance-Bitcoin/distinfo
index 0fab5d062161..3b10d9a61fbc 100644
--- a/finance/p5-Finance-Bitcoin/distinfo
+++ b/finance/p5-Finance-Bitcoin/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Finance-Bitcoin-0.002.tar.gz) = ef486d12f3a14dfc224637a6758eca6119e7a49900179809abc783550d6f2e63
-SIZE (Finance-Bitcoin-0.002.tar.gz) = 31052
+SHA256 (Finance-Bitcoin-0.004.tar.gz) = 113ffe6bde4c384b5dca74067eea55d0affdd89d87387506ecc367aa5116561d
+SIZE (Finance-Bitcoin-0.004.tar.gz) = 47443
diff --git a/finance/p5-Finance-Bitcoin/files/patch-API.pm b/finance/p5-Finance-Bitcoin/files/patch-API.pm
new file mode 100644
index 000000000000..6751ba56b421
--- /dev/null
+++ b/finance/p5-Finance-Bitcoin/files/patch-API.pm
@@ -0,0 +1,11 @@
+--- ./lib/Finance/Bitcoin/API.pm.orig 2012-02-29 16:33:14.557825312 -0500
++++ ./lib/Finance/Bitcoin/API.pm 2012-02-29 16:33:22.505825441 -0500
+@@ -2,7 +2,7 @@
+
+ use 5.010;
+ use common::sense;
+-use JSON::RPC::Client;
++use JSON::RPC::Legacy::Client;
+ use Any::Moose;
+ use Object::AUTHORITY;
+ use Scalar::Util qw[blessed]; \ No newline at end of file