summaryrefslogtreecommitdiff
path: root/sysutils/podman/Makefile
blob: 58bada5dafb688798676a6746b3b9c3dd2f1f222 (plain)
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
36
37
38
39
40
41
42
PORTNAME=	podman
PORTVERSION=	4.4.0.dev
PORTREVISION=	5
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>