#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: ------------------------------+--------------------------------------------- Old description:
Portfile for Mozilla's Rhino (JavaScript Engine).
New description: Portfile for Mozilla's Rhino (JavaScript Engine). -- Comment(by 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. -- Ticket URL: <http://trac.macports.org/ticket/24795#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS