aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobak <robak@FreeBSD.org>2015-09-24 04:31:42 +0800
committerrobak <robak@FreeBSD.org>2015-09-24 04:31:42 +0800
commit7b7b55222ced4e5eef96cbcef42362bce94a5ecb (patch)
treedadc9ab0324b7efd431d4308a80dc850c1f1c879
parent148969552e49db2446bf7ce282cd218861016200 (diff)
downloadfreebsd-ports-gnome-7b7b55222ced4e5eef96cbcef42362bce94a5ecb.tar.gz
freebsd-ports-gnome-7b7b55222ced4e5eef96cbcef42362bce94a5ecb.tar.zst
freebsd-ports-gnome-7b7b55222ced4e5eef96cbcef42362bce94a5ecb.zip
devel/b2: NEW PORT - Command Line Interface for Backblaze's B2 storage service
B2 Cloud Storage is a cloud service for storing files in the cloud. Files are available for download at any time, either through the API or through a browser-compatible URL. This package provides Backblaze's officiall command line tool for accessing all of the capabilities of B2 Cloud Storage. WWW: https://www.backblaze.com/b2/docs/quick_command_line.html Submitted by: robak
-rw-r--r--devel/Makefile1
-rw-r--r--devel/b2/Makefile29
-rw-r--r--devel/b2/distinfo2
-rw-r--r--devel/b2/pkg-descr8
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index afacf26b720d..44958ae608a0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -129,6 +129,7 @@
SUBDIR += avro-c
SUBDIR += avro-cpp
SUBDIR += awscli
+ SUBDIR += b2
SUBDIR += bam
SUBDIR += bbfreeze
SUBDIR += bbfreeze-loader
diff --git a/devel/b2/Makefile b/devel/b2/Makefile
new file mode 100644
index 000000000000..8bd0c2975534
--- /dev/null
+++ b/devel/b2/Makefile
@@ -0,0 +1,29 @@
+# Created by: Bartek Rutkowski <robak@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= b2
+PORTVERSION= 0.2.4
+CATEGORIES= devel
+MASTER_SITES= https://www.backblaze.com/b2/docs/
+DISTNAME= ${PORTNAME}
+EXTRACT_SUFX=
+
+MAINTAINER= robak@FreeBSD.org
+COMMENT= Command Line Interface for Backblaze's B2 storage service
+
+LICENSE= MIT
+
+USES= python:2.6+ shebangfix
+SHEBANG_FILES= b2
+NO_BUILD= yes
+
+PLIST_FILES= bin/${PORTNAME}
+
+do-extract:
+ @${MKDIR} ${WRKSRC}
+ @${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/devel/b2/distinfo b/devel/b2/distinfo
new file mode 100644
index 000000000000..7e13ef9a1467
--- /dev/null
+++ b/devel/b2/distinfo
@@ -0,0 +1,2 @@
+SHA256 (b2) = 2a73a5daf3915ae30788ebfff51c134bcf5e92157b4079afe8499b2b2eade9f8
+SIZE (b2) = 24688
diff --git a/devel/b2/pkg-descr b/devel/b2/pkg-descr
new file mode 100644
index 000000000000..bfc8b8172e17
--- /dev/null
+++ b/devel/b2/pkg-descr
@@ -0,0 +1,8 @@
+B2 Cloud Storage is a cloud service for storing files in the cloud.
+Files are available for download at any time, either through the API
+or through a browser-compatible URL.
+
+This package provides Backblaze's officiall command line tool for
+accessing all of the capabilities of B2 Cloud Storage.
+
+WWW: https://www.backblaze.com/b2/docs/quick_command_line.html