aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-BSON-XS
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-08-16 03:33:09 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-08-16 03:33:09 +0800
commit35ca80388147c5f2bad92adcad4db2fc410af4dc (patch)
treeb658a1244f8155964433d7b8bc387d3a1c144684 /databases/p5-BSON-XS
parent7bfab00e599ad887c14f53ad26ca0dc1d393c743 (diff)
downloadfreebsd-ports-gnome-35ca80388147c5f2bad92adcad4db2fc410af4dc.tar.gz
freebsd-ports-gnome-35ca80388147c5f2bad92adcad4db2fc410af4dc.tar.zst
freebsd-ports-gnome-35ca80388147c5f2bad92adcad4db2fc410af4dc.zip
Add p5-BSON-XS 0.4.3
BSON::XS contains an XS implementation for BSON encoding and decoding. There is no public API. Use the BSON module and it will choose the best implementation for you. WWW: https://metacpan.org/release/BSON-XS
Diffstat (limited to 'databases/p5-BSON-XS')
-rw-r--r--databases/p5-BSON-XS/Makefile33
-rw-r--r--databases/p5-BSON-XS/distinfo3
-rw-r--r--databases/p5-BSON-XS/pkg-descr5
-rw-r--r--databases/p5-BSON-XS/pkg-plist3
4 files changed, 44 insertions, 0 deletions
diff --git a/databases/p5-BSON-XS/Makefile b/databases/p5-BSON-XS/Makefile
new file mode 100644
index 000000000000..614056dff155
--- /dev/null
+++ b/databases/p5-BSON-XS/Makefile
@@ -0,0 +1,33 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= BSON-XS
+PORTVERSION= 0.4.3
+DISTVERSIONPREFIX= v
+CATEGORIES= databases perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= XS implementation of MongoDB BSON serialization
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= p5-Config-AutoConf>=0.220:devel/p5-Config-AutoConf \
+ p5-Path-Tiny>=0.052:devel/p5-Path-Tiny \
+ ${RUN_DEPENDS}
+RUN_DEPENDS= p5-BSON>=1.6.6:databases/p5-BSON
+TEST_DEPENDS= p5-JSON-MaybeXS>=0:converters/p5-JSON-MaybeXS \
+ p5-Path-Tiny>=0.054:devel/p5-Path-Tiny \
+ p5-Test-Deep>=0:devel/p5-Test-Deep \
+ p5-Tie-IxHash>=0:devel/p5-Tie-IxHash
+
+CFLAGS+= -DBSON_COMPILATION
+USE_PERL5= configure
+USES= perl5 gmake
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/BSON/XS/XS.so
+
+.include <bsd.port.mk>
diff --git a/databases/p5-BSON-XS/distinfo b/databases/p5-BSON-XS/distinfo
new file mode 100644
index 000000000000..b6265d31fa44
--- /dev/null
+++ b/databases/p5-BSON-XS/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1534345641
+SHA256 (BSON-XS-v0.4.3.tar.gz) = 8d6a03582d429b8172b4e68e7a667b18bbc7bace37f6537beee5891e068f8fa6
+SIZE (BSON-XS-v0.4.3.tar.gz) = 226599
diff --git a/databases/p5-BSON-XS/pkg-descr b/databases/p5-BSON-XS/pkg-descr
new file mode 100644
index 000000000000..666f79398166
--- /dev/null
+++ b/databases/p5-BSON-XS/pkg-descr
@@ -0,0 +1,5 @@
+BSON::XS contains an XS implementation for BSON encoding and decoding. There is
+no public API. Use the BSON module and it will choose the best implementation
+for you.
+
+WWW: https://metacpan.org/release/BSON-XS
diff --git a/databases/p5-BSON-XS/pkg-plist b/databases/p5-BSON-XS/pkg-plist
new file mode 100644
index 000000000000..f073ac75edcd
--- /dev/null
+++ b/databases/p5-BSON-XS/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_ARCH%%/BSON/XS.pm
+%%SITE_ARCH%%/auto/BSON/XS/XS.so
+%%PERL5_MAN3%%/BSON::XS.3.gz