blob: 0d2ed9d16dcc5e7afccbd4bf542678ce63c80457 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# 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
LICENSE_FILE= ${WRKSRC}/LICENSE
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>
|