You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
13c9b53840
In preparation for changing the default.
40 lines
1.5 KiB
Tcl
40 lines
1.5 KiB
Tcl
# -*- 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
|
|
|
|
github.setup boyonwheels vmrun.wrapper 84c1473c5fb912adc2fec3f08fdf892b70278d3d
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
name vmrun-wrapper
|
|
version 20160915
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
license unknown
|
|
maintainers {i0ntempest @i0ntempest} openmaintainer
|
|
categories sysutils
|
|
|
|
description Control vmrun with launchd
|
|
long_description A wrapper script for vmrun command from VMware Fusion that enables one \
|
|
to control virtual machines with launchd.
|
|
|
|
checksums rmd160 f9a89453a5eb32c1abf75eb76ea50be5a905249e \
|
|
sha256 e0dce8965c5a84d55a9b7c3c421fd1fb25b4024005d31713936a7a568fe3bf81 \
|
|
size 4747
|
|
|
|
use_configure no
|
|
build {}
|
|
|
|
destroot {
|
|
xinstall -m 755 ${worksrcpath}/${github.project} ${destroot}${prefix}/libexec/vmrun-wrapper
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.md ${destroot}${docdir}
|
|
}
|
|
|
|
notes "
|
|
Note that ${name} is installed to ${prefix}/libexec as it is intended to be run by launchd only.
|
|
Usage:
|
|
${prefix}/libexec/vmrun-wrapper (start|stop) /path/to/vm.vmwarevm/vm.vmx
|
|
"
|