# -*- 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/crc-org/vfkit 0.5.1 v categories sysutils maintainers {judaew @judaew} openmaintainer license Apache-2 description Simple command line tool to start VMs through \ virtualization framework long_description {*}${description}. checksums ${distname}${extract.suffix} \ rmd160 b71f625e0903a41a04c1aa920c3f38955e45e3e3 \ sha256 13c93e1753c76c2358f203c08ca0e75cfb853ce40a6bd1db9b053fa1bbd67a21 \ size 88597 # FIXME: This port currently can't be built without allowing go mod to fetch go.offline_build no build.cmd make build.pre_args GIT_VERSION=${version} switch ${build_arch} { x86_64 { destroot { xinstall -m 0755 ${worksrcpath}/out/${name}-amd64 \ ${destroot}${prefix}/bin/vfkit } } arm64 { destroot { xinstall -m 0755 ${worksrcpath}/out/${name}-arm64 \ ${destroot}${prefix}/bin/vfkit } } default { known_fail yes pre-fetch { ui_error "${subport} @ ${version} only supported for architectures ${supported_archs}" return -code error "Unsupported architecture: ${build_arch}" } } }