[MacPorts] #24795: New port: Mozilla's Rhino
MacPorts
noreply at macports.org
Mon May 17 07:37:09 PDT 2010
#24795: New port: Mozilla's Rhino
------------------------------+---------------------------------------------
Reporter: franck@… | Owner: macports-tickets@…
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: java javascript | Port:
------------------------------+---------------------------------------------
Comment(by franck.cassedanne@…):
Replying to [comment:1 jann@…]:
> The portfile looks good. I have one suggestion: Can you rewrite the part
> {{{
> system "cd ${javadir}/${name}/bin \
> && echo \"java -jar ${prefix}/share/java/${name}/js.jar\" >
${destroot}${prefix}/bin/rhino \
> && chmod +x ${destroot}${prefix}/bin/rhino"
> }}} such that it does not use system commands?
>
> See here: http://wiki.tcl.tk/367 . Alternatively you could add the rhino
file to the files folder and simply copy it over during installation.
As per suggested, added a patch using tcl own commands over system ones --
many thanks for suggesting this.
--
Ticket URL: <http://trac.macports.org/ticket/24795#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list