aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-BSON
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-12-15 07:15:04 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-12-15 07:15:04 +0000
commitfa1230dee933aeb0f5e2c6def1d2c0c786ef847e (patch)
treedd7b93745a3983544440435a153d9ad85b5c52f7 /databases/p5-BSON
parent45bb1fffefcf720026076f37c252c78a5828dae7 (diff)
downloadports-fa1230dee933aeb0f5e2c6def1d2c0c786ef847e.tar.gz
ports-fa1230dee933aeb0f5e2c6def1d2c0c786ef847e.zip
Notes
Diffstat (limited to 'databases/p5-BSON')
-rw-r--r--databases/p5-BSON/Makefile13
-rw-r--r--databases/p5-BSON/distinfo4
2 files changed, 12 insertions, 5 deletions
diff --git a/databases/p5-BSON/Makefile b/databases/p5-BSON/Makefile
index 7dbc0713235f..58830a72aac8 100644
--- a/databases/p5-BSON/Makefile
+++ b/databases/p5-BSON/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= BSON
-PORTVERSION= 0.06
+PORTVERSION= 0.10
CATEGORIES= databases perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:MINIMAL
@@ -18,7 +18,8 @@ COMMENT= Pure Perl implementation of MongoDB BSON serialization
BUILD_DEPENDS= p5-Tie-IxHash>=0:${PORTSDIR}/devel/p5-Tie-IxHash
RUN_DEPENDS= p5-Tie-IxHash>=0:${PORTSDIR}/devel/p5-Tie-IxHash
-TEST_DEPENDS= p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime
+TEST_DEPENDS= p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
+ p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
PERL_CONFIGURE= yes
@@ -33,4 +34,10 @@ MAN3= BSON.3 \
BSON::Time.3 \
BSON::Timestamp.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501200
+TEST_DEPENDS+= p5-Test-Simple>=0.94:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/p5-BSON/distinfo b/databases/p5-BSON/distinfo
index 1bfdb5dc7d48..eb8bbbd43b75 100644
--- a/databases/p5-BSON/distinfo
+++ b/databases/p5-BSON/distinfo
@@ -1,2 +1,2 @@
-SHA256 (BSON-0.06.tar.gz) = 4931ca7d0dc158a9dcefa9413167f04533dfd8aa9595ba56c0dc8688c9fd24f8
-SIZE (BSON-0.06.tar.gz) = 13897
+SHA256 (BSON-0.10.tar.gz) = 51f929b4df64d1cd6b7963c718b2c1c40d7672201a65b73cf76360d06a541405
+SIZE (BSON-0.10.tar.gz) = 14136