aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-MongoDB
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-02-01 19:48:56 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-02-01 19:48:56 +0000
commit9d298396a283fad62cff533ee736f2067a134f6a (patch)
tree5f10cfff59f6a0783a95c28f9a1daee227944812 /databases/p5-MongoDB
parentb9db52d30dd89782355d67b5db9c86c4df8202ed (diff)
downloadports-9d298396a283fad62cff533ee736f2067a134f6a.tar.gz
ports-9d298396a283fad62cff533ee736f2067a134f6a.zip
Notes
Diffstat (limited to 'databases/p5-MongoDB')
-rw-r--r--databases/p5-MongoDB/Makefile11
-rw-r--r--databases/p5-MongoDB/distinfo4
2 files changed, 11 insertions, 4 deletions
diff --git a/databases/p5-MongoDB/Makefile b/databases/p5-MongoDB/Makefile
index 86b213d77406..c9ca2e352895 100644
--- a/databases/p5-MongoDB/Makefile
+++ b/databases/p5-MongoDB/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= MongoDB
-PORTVERSION= 1.2.1
+PORTVERSION= 1.2.2
DISTVERSIONPREFIX= v
CATEGORIES= databases perl5
MASTER_SITES= CPAN
@@ -41,4 +41,11 @@ USE_PERL5= configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/MongoDB/MongoDB.so
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502200
+BUILD_DEPENDS+= p5-JSON-PP>=2.27300:${PORTSDIR}/converters/p5-JSON-PP
+RUN_DEPENDS+= p5-JSON-PP>=2.27300:${PORTSDIR}/converters/p5-JSON-PP
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/p5-MongoDB/distinfo b/databases/p5-MongoDB/distinfo
index eee16b56d5bb..b1eb0e6bf4bd 100644
--- a/databases/p5-MongoDB/distinfo
+++ b/databases/p5-MongoDB/distinfo
@@ -1,2 +1,2 @@
-SHA256 (MongoDB-v1.2.1.tar.gz) = 57a85253191d71012a906fb4a0e773951651cf76c8efe61c00354ec0680856ef
-SIZE (MongoDB-v1.2.1.tar.gz) = 1733093
+SHA256 (MongoDB-v1.2.2.tar.gz) = ed57c87c649f77cb41e122cd610111b136651e5d3b21b51d953b1fcbe79013e7
+SIZE (MongoDB-v1.2.2.tar.gz) = 1735147