freebsd-ports/sysutils/podman/Makefile
2023-01-14 06:31:17 -05:00

42 lines
1.2 KiB
Makefile

PORTNAME= podman
PORTVERSION= 4.4.0.dev
PORTREVISION= 3
CATEGORIES= sysutils
MAINTAINER= dfr@FreeBSD.org
COMMENT= Manage Pods, Containers and Container Images
WWW= https://podman.io/
LICENSE= GPLv2
BUILD_DEPENDS= bash:shells/bash \
go-md2man:textproc/go-md2man \
gsed:textproc/gsed
LIB_DEPENDS= libgpgme.so:security/gpgme
RUN_DEPENDS= conmon:sysutils/conmon \
containernetworking-plugins>=0:net/containernetworking-plugins \
containers-common>=0:sysutils/containers-common \
ocijail:sysutils/ocijail
USES= gmake go:no_targets pkgconfig python:3.7+,build shebangfix
SHEBANG_FILES= ${WRKSRC}/hack/markdown-preprocess
# Parallel builds are flaky due to some kind of file race in the
# markdown-preprocess phase of the docs build.
MAKE_JOBS_UNSAFE= yes
USE_GITHUB= yes
GH_ACCOUNT= containers
GH_PROJECT= podman
GH_TAGNAME= b294b7c3
INSTALL_TARGET= install install.completions
# Temporary until https://github.com/containers/podman/pull/16422 lands
do-install:
${GMAKE} -C ${WRKSRC} DESTDIR=${STAGEDIR} GO=${GO_CMD} install
${GMAKE} -C ${WRKSRC} DESTDIR=${STAGEDIR} GO=${GO_CMD} install.completions
${RM} ${STAGEDIR}${PREFIX}/lib/tmpfiles.d/podman.conf
.include <bsd.port.mk>