Revision
140412
Author
takeshi@macports.org
Date
2015-09-18 19:22:00 -0700 (Fri, 18 Sep 2015)

Log Message

xhyve: install xhyverun.sh as xhyverun.sh.sample

Modified Paths

Diff

Modified: trunk/dports/emulators/xhyve/Portfile (140411 => 140412)


--- trunk/dports/emulators/xhyve/Portfile	2015-09-19 02:09:06 UTC (rev 140411)
+++ trunk/dports/emulators/xhyve/Portfile	2015-09-19 02:22:00 UTC (rev 140412)
@@ -5,6 +5,7 @@
 PortGroup           github 1.0
 
 github.setup        mist64 xhyve 0.2.0 v
+revision            1
 categories          emulators
 platforms           darwin
 supported_archs     x86_64
@@ -42,7 +43,12 @@
 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 -m 755 -W ${worksrcpath} ${name}run.sh ${destroot}${prefix}/libexec/${name}/${name}run.sh.sample
     xinstall -d -m 755 ${destroot}${prefix}/share/${name}
     file copy ${worksrcpath}/test ${destroot}${prefix}/share/${name}
 }
+
+notes "
+    The shell script to run xhyve is installed as ${prefix}/libexec/${name}/${name}run.sh.sample.
+    Copy the script for editing. ${name}run.sh.sample will be overwritten when the port is updated.
+"