blob: 83d2b2b5ae23981b5625dd8b202e72131e1ee7c4 (
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
|
# $NetBSD: Makefile,v 1.5 2022/11/06 12:39:14 tnn Exp $
DISTNAME= podman-3.4.4
PKGREVISION= 1
GITHUB_TAG= v${PKGVERSION_NOREV}
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=containers/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/containers/podman/
COMMENT= Tool for managing OCI containers and pods
LICENSE= apache-2.0
USE_TOOLS+= gmake gsed
.include "../../mk/bsd.prefs.mk"
.include "../../lang/go/version.mk"
BUILD_DEPENDS+= ${GO_PACKAGE_DEP}
DEPENDS+= qemu-[0-9]*:../../emulators/qemu
DEPENDS+= gvproxy-[0-9]*:../../net/gvproxy
SUBST_CLASSES+= prefix
SUBST_FILES.prefix+= pkg/machine/qemu/options_darwin_arm64.go
SUBST_FILES.prefix+= vendor/github.com/containers/common/pkg/config/config_darwin.go
SUBST_FILES.prefix+= vendor/github.com/containers/common/pkg/config/config_netbsd.go
SUBST_STAGE.prefix= pre-configure
SUBST_MESSAGE.prefix= fix PREFIX inside patch
SUBST_VARS.prefix= PREFIX
CHECK_PORTABILITY_SKIP+= vendor/github.com/containers/buildah/release.sh
.if ${OPSYS} != "Linux"
BUILD_TARGET= podman-remote-${OPSYS:tl}
INSTALLATION_DIRS+= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/${OPSYS:tl}/podman ${DESTDIR}${PREFIX}/bin/podman
.endif
.include "../../mk/bsd.pkg.mk"
|