a53d634dd6
This also switches patches that only add files to adding files.
33 lines
722 B
Makefile
33 lines
722 B
Makefile
# Created by: Nikolai Lifanov <lifanov@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= docker
|
|
PORTVERSION= 18.03.0
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSIONSUFFIX= -ce
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= lifanov@FreeBSD.org
|
|
COMMENT= Open-source application container engine
|
|
|
|
LICENSE= APACHE20
|
|
|
|
PLIST_FILES= bin/docker
|
|
|
|
USE_GITHUB= yes
|
|
GH_PROJECT= docker-ce
|
|
|
|
USES= go
|
|
|
|
GO_PKGNAME= github.com/${PORTNAME}
|
|
GO_TARGET= ${GO_PKGNAME}/cli/cmd/docker
|
|
|
|
pre-build:
|
|
@${MV} ${GO_WRKSRC}/components/* ${GO_WRKSRC}/
|
|
@${CP} ${FILESDIR}/default_store_freebsd.go \
|
|
${GO_WRKSRC}/cli/cli/config/credentials/
|
|
@${CP} ${FILESDIR}/pass_freebsd.go \
|
|
${GO_WRKSRC}/cli/vendor/github.com/docker/docker-credential-helpers/pass/
|
|
|
|
.include <bsd.port.mk>
|