# -*- 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           github  1.0
PortGroup           xcode   1.0

github.setup        evansm7 vftool 928324524883d24bd16d1528da9ae677943482b6
github.tarball_from archive
revision            0
version             20201012

description         A simple macOS Virtualisation.framework wrapper

long_description    \
    Here lies a really minimalist and very noddy command-line wrapper to run \
    VMs in the macOS Big Sur Virtualization.framework. Vftool runs Linux \
    virtual machines with virtio block, network, entropy and console devices. \
    All of the hard work and actual virtualisation is performed by \
    Virtualization.framework -- this wrapper simply sets up configuration \
    objects, describing the VM. It's intended to be the simplest possible \
    invocation of this framework

categories          sysutils
installs_libs       no
license             MIT
# Requires macOS >= 11.
platforms           { darwin >= 20 }
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  6d9e15ffeedb254292bc706fe81f6193f3a57a6b \
                    sha256  ff2de7d7810533fe0c88c518959ec5170088a8a5c6b52d38ee032d2b1ffaa403 \
                    size    9956

destroot {
    copy ${worksrcpath}/build/Release/${name} ${destroot}${prefix}/bin/
}
