[144590] trunk/dports/math/octave-devel/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Wed Jan 13 01:40:56 PST 2016
Revision: 144590
https://trac.macports.org/changeset/144590
Author: mcalhoun at macports.org
Date: 2016-01-13 01:40:56 -0800 (Wed, 13 Jan 2016)
Log Message:
-----------
octave-devel, octave-devel-rc, octave-devel-release: tweak application bundle to call osascript in sharp-bang line
Modified Paths:
--------------
trunk/dports/math/octave-devel/Portfile
Modified: trunk/dports/math/octave-devel/Portfile
===================================================================
--- trunk/dports/math/octave-devel/Portfile 2016-01-13 09:31:53 UTC (rev 144589)
+++ trunk/dports/math/octave-devel/Portfile 2016-01-13 09:40:56 UTC (rev 144590)
@@ -29,7 +29,7 @@
if { ${name} eq ${subport} } {
version ${version_tip}
- revision 1
+ revision 2
hg.tag 5a340d8458d6
checksums-append \
@@ -42,7 +42,7 @@
subport octave-devel-rc {
version ${version_rc}
- revision 2
+ revision 3
hg.tag 20b17dda0e0c
if {${version_rc} eq ${version_release}} {
@@ -67,7 +67,7 @@
subport octave-devel-release {
version ${version_release}
- revision 2
+ revision 3
hg.tag 3ccc2d02e64b
if {${version_release} eq ${version_rc}} {
@@ -482,12 +482,14 @@
xinstall -d -p -m 0755 ${worksrcpath}/${appName}/Contents/MacOS
set script [open "${worksrcpath}/${appName}/Contents/MacOS/Octave" w 0755]
- puts ${script} "#!/bin/sh"
- puts ${script} ""
if { [variant_isset qt4gui] } {
+ puts ${script} "#!/bin/sh"
+ puts ${script} ""
puts ${script} "${prefix}/bin/octave-${version} --force-gui"
} else {
- puts ${script} "/usr/bin/osascript -e 'tell application \"Terminal\" to do script \"${prefix}/bin/octave-${version} --no-gui-libs; exit\"'"
+ puts ${script} "#!/usr/bin/osascript"
+ puts ${script} ""
+ puts ${script} "tell application \"Terminal\" to do script \"${prefix}/bin/octave-${version} --no-gui-libs; exit\""
}
close ${script}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160113/b0d792f7/attachment-0001.html>
More information about the macports-changes
mailing list