summaryrefslogtreecommitdiff
path: root/sysutils/docker-machine/Makefile
diff options
context:
space:
mode:
authorNikolai Lifanov <lifanov@FreeBSD.org>2017-03-21 16:53:41 +0000
committerNikolai Lifanov <lifanov@FreeBSD.org>2017-03-21 16:53:41 +0000
commit04972b5c2403b1fe5a81241231f42d1af41e4675 (patch)
treed1ae6adcd414215b6d1aa8e0eb8d32ce05e3d239 /sysutils/docker-machine/Makefile
parentadd sysutils/docker (diff)
add sysutils/docker-machine
Machine lets you create Docker hosts on your computer, on cloud providers, and inside your own data center. It creates servers, installs Docker on them, then configures the Docker client to talk to them. Note: this can be used with sysutils/docker
Notes
Notes: svn path=/head/; revision=436620
Diffstat (limited to 'sysutils/docker-machine/Makefile')
-rw-r--r--sysutils/docker-machine/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/docker-machine/Makefile b/sysutils/docker-machine/Makefile
new file mode 100644
index 000000000000..b3cc5e35ff7e
--- /dev/null
+++ b/sysutils/docker-machine/Makefile
@@ -0,0 +1,31 @@
+# Created by: Nikolai Lifanov <lifanov@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= docker-machine
+PORTVERSION= 0.10.0
+DISTVERSIONPREFIX= v
+CATEGORIES= sysutils
+
+MAINTAINER= lifanov@FreeBSD.org
+COMMENT= Tool to create Docker hosts
+
+LICENSE= APACHE20
+
+PLIST_FILES= bin/docker-machine
+
+USE_GITHUB= yes
+
+USES= go
+
+GH_ACCOUNT= docker
+GH_PROJECT= machine
+
+GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
+GO_TARGET= github.com/${GH_ACCOUNT}/${GH_PROJECT}/cmd
+
+STRIP= # stripping can break go binaries
+
+post-install:
+ @${MV} ${STAGEDIR}${PREFIX}/bin/cmd ${STAGEDIR}${PREFIX}/bin/docker-machine
+
+.include <bsd.port.mk>