aboutsummaryrefslogtreecommitdiff
path: root/sysutils/containerd/Makefile
blob: d335d5c82f2d88a21f66a2c2104929d47af0962a (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
34
35
PORTNAME=	containerd
DISTVERSIONPREFIX=v
DISTVERSION=	1.6.19
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>