summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2016-12-09 01:09:50 +0000
committerAlberto Villa <avilla@FreeBSD.org>2016-12-09 01:09:50 +0000
commita81034a57cbbeff3caa3680fc30bc8fed0662ccc (patch)
treedbfeea8397e2d58a7b5f184f9a7c4fb2474f1dae
parentUpdate to 1.120 (diff)
Bluemix CLI provides a unified way for you to interact with your
applications, virtual servers, containers, and other components in Bluemix through a command line interface. It also leverages command line tools from Cloud Foundry, Docker, and the OpenStack community when you interact with specific compute types. Bluemix CLI helps you handle the environment settings when these community tools are used. WWW: http://clis.ng.bluemix.net
-rw-r--r--net/Makefile1
-rw-r--r--net/bluemix-cli/Makefile39
-rw-r--r--net/bluemix-cli/distinfo3
-rw-r--r--net/bluemix-cli/pkg-descr8
-rw-r--r--net/bluemix-cli/pkg-message12
5 files changed, 63 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 422fd2c75935..7c42f3a2da20 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -52,6 +52,7 @@
SUBDIR += bird-devel
SUBDIR += bird6
SUBDIR += bittwist
+ SUBDIR += bluemix-cli
SUBDIR += bmon
SUBDIR += bnxt-kmod
SUBDIR += boclient
diff --git a/net/bluemix-cli/Makefile b/net/bluemix-cli/Makefile
new file mode 100644
index 000000000000..b1681dd6f017
--- /dev/null
+++ b/net/bluemix-cli/Makefile
@@ -0,0 +1,39 @@
+# $FreeBSD$
+
+PORTNAME= bluemix-cli
+PORTVERSION= 0.4.4
+DISTNAME= Bluemix_CLI_${PORTVERSION}_386
+CATEGORIES= net
+MASTER_SITES= http://public.dhe.ibm.com/cloud/${PORTNAME:C/-.*//}/cli/${PORTNAME}/
+
+MAINTAINER= avilla@FreeBSD.org
+COMMENT= Bluemix command line interface
+
+LICENSE= BLUEMIX
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+LICENSE_NAME= IBM Bluemix Service Description
+LICENSE_FILE= ${WRKSRC}/bin/LICENSE
+
+RUN_DEPENDS= cf:net/cf
+
+USES= linux
+NO_BUILD= yes
+NO_ARCH= yes
+STRIP= # empty
+
+WRKSRC= ${WRKDIR}/Bluemix_CLI
+
+PLIST_FILES= bin/bluemix bin/bluemix-analytics bin/bx \
+ etc/bash_completion.d/bluemix.sh
+
+pre-install:
+ ${BRANDELF} -t Linux ${WRKSRC}/bin/bluemix*
+
+do-install:
+ cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} bluemix bluemix-analytics \
+ ${STAGEDIR}${PREFIX}/bin
+ ${LN} -s bluemix ${STAGEDIR}${PREFIX}/bin/bx
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
+ ${INSTALL_DATA} ${WRKSRC}/bx/bash_autocomplete ${STAGEDIR}${PREFIX}/etc/bash_completion.d/bluemix.sh
+
+.include <bsd.port.mk>
diff --git a/net/bluemix-cli/distinfo b/net/bluemix-cli/distinfo
new file mode 100644
index 000000000000..81d5c60be419
--- /dev/null
+++ b/net/bluemix-cli/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1481244062
+SHA256 (Bluemix_CLI_0.4.4_386.tar.gz) = 1f5efea2b0b0e0a0bbaf338f0116f0b8a7b6f30006f7e9a2a0fe94d7e92059c5
+SIZE (Bluemix_CLI_0.4.4_386.tar.gz) = 6122023
diff --git a/net/bluemix-cli/pkg-descr b/net/bluemix-cli/pkg-descr
new file mode 100644
index 000000000000..161c71349033
--- /dev/null
+++ b/net/bluemix-cli/pkg-descr
@@ -0,0 +1,8 @@
+Bluemix CLI provides a unified way for you to interact with your
+applications, virtual servers, containers, and other components in
+Bluemix through a command line interface. It also leverages command
+line tools from Cloud Foundry, Docker, and the OpenStack community
+when you interact with specific compute types. Bluemix CLI helps you
+handle the environment settings when these community tools are used.
+
+WWW: http://clis.ng.bluemix.net
diff --git a/net/bluemix-cli/pkg-message b/net/bluemix-cli/pkg-message
new file mode 100644
index 000000000000..f5e04cc3c02a
--- /dev/null
+++ b/net/bluemix-cli/pkg-message
@@ -0,0 +1,12 @@
+======================================================================
+
+With IBM Bluemix CLI 0.4.0 or later, the CLI can automatically collect
+diagnostic and usage information and send it to Bluemix for analysis.
+This information will help us better understand current client usage
+and plan for future use. No personally identifiable data is collected.
+
+To stop collecting information, you can run the following command:
+
+$ bluemix config --usage-stats-collect false
+
+======================================================================