summaryrefslogtreecommitdiff
path: root/sysutils/containerd/Makefile
blob: d9c717abd41d15317e906da7c7f9a413e6e1f9c0 (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
33
34
35
36
PORTNAME=	containerd
DISTVERSIONPREFIX=v
DISTVERSION=	1.6.19
PORTREVISION=	1
CATEGORIES=	sysutils

MAINTAINER=	decke@FreeBSD.org
COMMENT=	Open and reliable container runtime
WWW=		https://containerd.io/

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	bash:shells/bash

USES=		cpe gmake go:modules,no_targets
USE_GITHUB=	yes
GH_SUBDIR=	src/github.com/containerd/containerd

CPE_VENDOR=	linuxfoundation

USE_RC_SUBR=	containerd

MAKE_ENV=	${GO_ENV} \
		GOFLAGS="${GO_BUILDFLAGS}" \
		VERSION="${DISTVERSION}"

PLIST_FILES=	bin/containerd \
		bin/containerd-shim \
		bin/containerd-stress \
		bin/ctr

do-install:
	@(cd ${WRKSRC} && ${SETENV} DESTDIR="${STAGEDIR}" ${MAKE_CMD} install)

.include <bsd.port.mk>