summaryrefslogtreecommitdiff
path: root/sysutils/docker/Makefile
blob: a0d3510df5bca8be2a2b7e3ed5eb32c6b26feb59 (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
33
# Created by: Nikolai Lifanov <lifanov@FreeBSD.org>

PORTNAME=		docker
PORTVERSION=		18.09.5
DISTVERSIONPREFIX=	v
PORTREVISION=		1
CATEGORIES=		sysutils

MAINTAINER=		ports@FreeBSD.org
COMMENT=		Open-source application container engine

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>