Ticket #24795: Portfile-rhino.diff
File Portfile-rhino.diff, 765 bytes (added by franck.cassedanne@…, 14 years ago) |
---|
-
(a) Portfile_bak vs. (b) Portfile
a b 49 49 file copy ${worksrcpath}/js.jar ${javadir}/${name}/js.jar 50 50 file copy ${worksrcpath}/js-14.jar ${javadir}/${name}/js-14.jar 51 51 52 system "cd ${javadir}/${name}/bin \ 53 && echo \"java -jar ${prefix}/share/java/${name}/js.jar\" > ${destroot}${prefix}/bin/rhino \ 54 && chmod +x ${destroot}${prefix}/bin/rhino" 52 set rhino [open ${destroot}${prefix}/bin/rhino "w"] 53 puts $rhino "java -jar ${prefix}/share/java/${name}/js.jar" 54 close $rhino 55 file attributes ${destroot}${prefix}/bin/rhino -permissions +x 55 56 56 57 file copy ${worksrcpath}/javadoc/ ${docdir} 57 58 file copy ${worksrcpath}/examples/ ${examplesdir}