aboutsummaryrefslogtreecommitdiff
path: root/finance/p5-Finance-Bitcoin
diff options
context:
space:
mode:
authorSteven Kreuzer <skreuzer@FreeBSD.org>2012-03-13 13:54:00 +0000
committerSteven Kreuzer <skreuzer@FreeBSD.org>2012-03-13 13:54:00 +0000
commitcb3d220373abbe038720af61e736ea3fa765150e (patch)
tree81787a0ebb3a78fa82b8c974907563740389875e /finance/p5-Finance-Bitcoin
parent6d4360e51bd4c7c25cf27de016651d2ab82d6607 (diff)
downloadports-cb3d220373abbe038720af61e736ea3fa765150e.tar.gz
ports-cb3d220373abbe038720af61e736ea3fa765150e.zip
Notes
Diffstat (limited to 'finance/p5-Finance-Bitcoin')
-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