aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ocijail/Makefile
blob: 454333c5477734e0b13b426c8917420015c3cb1b (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
PORTNAME=	ocijail
DISTVERSIONPREFIX=	v
DISTVERSION=	0.3.0
CATEGORIES=	sysutils

MAINTAINER=	dfr@FreeBSD.org
COMMENT=	Experimental, proof-of-concept OCI-compatible runtime for jails
WWW=		https://github.com/dfr/ocijail

LICENSE=	BSD3CLAUSE

IGNORE_FreeBSD_12= Not supported on FreeBSD 12 (uses c++20)

BUILD_DEPENDS=	bazel:devel/bazel5 bash:shells/bash

USE_GITHUB=	yes
GH_ACCOUNT=	dfr

PLIST_FILES=	bin/ocijail

# Build happens in the //:install rule
NO_BUILD=	yes
BAZEL_OPTS=	--batch --output_user_root=${WRKDIR}/bazel_out

do-install:
	cd ${WRKSRC} && bazel ${BAZEL_OPTS} run --experimental_repository_disable_download //:install -- ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>