aboutsummaryrefslogblamecommitdiff
path: root/sysutils/docker-machine/Makefile
blob: 4fdc28c768d9bacc13e693f228dfe858741b86aa (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12



                                                   
                              






                                                   
                                         












                                                          



                                                                                   
# Created by: Nikolai Lifanov <lifanov@FreeBSD.org>
# $FreeBSD$

PORTNAME=		docker-machine
PORTVERSION=		0.12.2
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

post-install:
	@${MV} ${STAGEDIR}${PREFIX}/bin/cmd ${STAGEDIR}${PREFIX}/bin/docker-machine

.include <bsd.port.mk>