Opened 14 years ago

Last modified 14 years ago

#24795 closed submission

New port: Mozilla's Rhino — at Version 1

Reported by: franck@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: rhino

Description (last modified by roederja)

Portfile for Mozilla's Rhino (JavaScript Engine).

Change History (4)

Changed 14 years ago by franck@…

Attachment: Portfile added

ports/java/rhino/Portfile

comment:1 Changed 14 years ago by roederja

Description: modified (diff)

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.

Changed 14 years ago by franck.cassedanne@…

Attachment: Portfile.2 added

Changed 14 years ago by franck.cassedanne@…

Attachment: Portfile-rhino.diff added
Note: See TracTickets for help on using tickets.