# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup golang 1.0 go.setup github.com/docker/buildx 0.18.0 v revision 0 name docker-buildx-plugin categories devel platforms darwin license Apache-2 maintainers {danchr @danchr} \ openmaintainer description Docker CLI plugin for extended build capabilities with BuildKit long_description {*}{ buildx is a Docker CLI plugin for extended build capabilities with BuildKit. Key features:\n\n * Familiar UI from docker build\n * Full BuildKit capabilities with container driver\n * Multiple builder instance support\n * Multi-node builds for cross-platform images\n * Compose build support\n * High-level build constructs (bake)\n * In-container driver support (both Docker and Kubernetes) } checksums rmd160 764e70e779e2d57f83f026230022072f899f215e \ sha256 86f7d9d463137f5c46e101824e130ac6af282f92b60ab54256a636ffd41c9aa7 \ size 11466479 go.offline_build no post-patch { reinplace "/Version/s/\"\[^\"]*\"/\"${go.version}\"/" \ ${worksrcpath}/version/version.go reinplace "/Revision/s/\"\[^\"]*\"/\"MacPorts ${version}_${revision}${portvariants}\"/" \ ${worksrcpath}/version/version.go } build.target -o ${name} ./cmd/buildx depends_run port:docker destroot { xinstall -d ${destroot}${prefix}/libexec/docker/cli-plugins xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/libexec/docker/cli-plugins/docker-buildx } github.livecheck.regex {([^"r]+)}