2aa122875d
Most of of the products, except ocijail, are under Apache 2.0. Add licence files. Bump PORTREVISIONs. Approved by: dfr (maintainer) Differential Revision: https://reviews.freebsd.org/D47924
29 lines
671 B
Makefile
29 lines
671 B
Makefile
PORTNAME= ocijail
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.4.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= dfr@FreeBSD.org
|
|
COMMENT= Experimental, proof-of-concept OCI-compatible runtime for jails
|
|
WWW= https://github.com/dfr/ocijail
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
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>
|