summaryrefslogtreecommitdiff
path: root/sysutils/docker/Makefile
blob: aaa40e0e5ce29b3ea6403415afa2345f82bf8d15 (plain)
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
PORTNAME=		docker
PORTVERSION=		18.09.5
DISTVERSIONPREFIX=	v
PORTREVISION=		11
CATEGORIES=		sysutils

MAINTAINER=		joneum@FreeBSD.org
COMMENT=		Open-source application container engine
WWW=		https://www.docker.com/

LICENSE=		APACHE20

BROKEN_aarch64=		fails to build: golang.org/x/sys/unix/cap_freebsd.go:18:23: undefined: CAP_RIGHTS_VERSION_00

PLIST_FILES=		bin/docker

USE_GITHUB=		yes
GH_PROJECT=		docker-ce

USES=	cpe go

CONFLICTS_INSTALL=	docker-tray # bin/docker

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/

.include <bsd.port.mk>