freebsd-ports/sysutils/docker-machine/Makefile

30 lines
604 B
Makefile

# Created by: Nikolai Lifanov <lifanov@FreeBSD.org>
# $FreeBSD$
PORTNAME= docker-machine
PORTVERSION= 0.13.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
post-install:
@${MV} ${STAGEDIR}${PREFIX}/bin/cmd ${STAGEDIR}${PREFIX}/bin/docker-machine
.include <bsd.port.mk>