Added: trunk/dports/emulators/xhyve/Portfile (0 => 140410)
--- 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
___________________________________________________________________