[140410] trunk/dports/emulators
takeshi at macports.org
takeshi at macports.org
Fri Sep 18 18:30:11 PDT 2015
Revision: 140410
https://trac.macports.org/changeset/140410
Author: takeshi at macports.org
Date: 2015-09-18 18:30:10 -0700 (Fri, 18 Sep 2015)
Log Message:
-----------
xhyve: add xhyve to MacPorts
Added Paths:
-----------
trunk/dports/emulators/xhyve/
trunk/dports/emulators/xhyve/Portfile
Added: trunk/dports/emulators/xhyve/Portfile
===================================================================
--- trunk/dports/emulators/xhyve/Portfile (rev 0)
+++ trunk/dports/emulators/xhyve/Portfile 2015-09-19 01:30:10 UTC (rev 140410)
@@ -0,0 +1,41 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+PortGroup github 1.0
+
+github.setup mist64 xhyve 0.2.0 v
+categories emulators
+platforms darwin
+supported_archs x86_64
+license BSD
+maintainers takeshi openmaintainer
+description a lightweight OS X virtualization solution
+long_description \
+ The xhyve hypervisor is a port of bhyve to OS X. \
+ It is built on top of Hypervisor.framework in OS X 10.10 Yosemite and higher, \
+ runs entirely in userspace, and has no other dependencies. \
+ It can run FreeBSD and vanilla Linux distributions and \
+ may gain support for other guest operating systems in the future.
+
+checksums rmd160 f04ef00ddb2be3cc34415015acf8bebf54394e02 \
+ sha256 b7b96388da660b6224623a6445f61c1645123d59637023bb6e2c7fb29522619d
+
+post-patch {
+ reinplace "s|test/|${prefix}/share/${name}/test/|" ${worksrcpath}/${name}run.sh
+ reinplace "s|build/${name}|${prefix}/bin/${name}|" ${worksrcpath}/${name}run.sh
+}
+
+use_configure no
+
+build.env CC=${configure.cc} \
+ CFLAGS=${configure.cflags} \
+ LDFLAGS=${configure.ldflags} -framework Hypervisor -framework vmne
+
+destroot {
+ xinstall -m 755 -W ${worksrcpath} build/${name} ${destroot}${prefix}/bin
+ xinstall -d -m 755 ${destroot}${prefix}/libexec/${name}
+ xinstall -m 755 -W ${worksrcpath} ${name}run.sh ${destroot}${prefix}/libexec/${name}/
+ xinstall -d -m 755 ${destroot}${prefix}/share/${name}
+ file copy ${worksrcpath}/test ${destroot}${prefix}/share/${name}
+}
Property changes on: trunk/dports/emulators/xhyve/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150918/725f9a33/attachment.html>
More information about the macports-changes
mailing list