aboutsummaryrefslogtreecommitdiff
path: root/sysutils/runj/Makefile
blob: 135af006013d122ddef7ef92819af2330b6b8217 (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
# $FreeBSD$

PORTNAME=	runj
DISTVERSION=	g20210315
CATEGORIES=	sysutils

MAINTAINER=	dch@FreeBSD.org
COMMENT=	Experimental, proof-of-concept OCI-compatible runtime for jails

LICENSE=	APACHE20 BSD2CLAUSE BSD3CLAUSE MIT
LICENSE_COMB=	multi

USES=		go:modules
USE_GITHUB=	yes
GH_ACCOUNT=	samuelkarp
GH_TAGNAME=	42281a4

.include "${.CURDIR}/Makefile.deps"

GO_TARGET=	./cmd/runj:bin/runj \
		./cmd/runj-entrypoint:bin/runj-entrypoint \
		./cmd/containerd-shim-runj-v1:bin/containerd-shim-runj-v1

PLIST_FILES=	bin/runj \
		bin/runj-entrypoint \
		bin/containerd-shim-runj-v1

post-install:
	${STRIP_CMD} \
		${STAGEDIR}${PREFIX}/bin/runj \
		${STAGEDIR}${PREFIX}/bin/runj-entrypoint \
		${STAGEDIR}${PREFIX}/bin/containerd-shim-runj-v1

.include <bsd.port.mk>