Ticket #22305: lua-glut.diff
File lua-glut.diff, 933 bytes (added by takanori@…, 15 years ago) |
---|
-
Portfile
37 37 destroot { 38 38 # Documentation and examples 39 39 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 40 file copy README ${destroot}${prefix}/share/doc/${name}40 file copy ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name} 41 41 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples 42 file copy glut_test1.lua glut_test2.lua lua.ppm ${destroot}${prefix}/share/doc/${name}/examples 42 foreach f {glut_test1.lua glut_test2.lua lua.ppm} { 43 file copy ${worksrcpath}/${f} ${destroot}${prefix}/share/doc/${name}/examples 44 } 43 45 44 46 # Binaries 45 47 xinstall -m 755 -d ${destroot}${prefix}/lib/lua/5.1 46 foreach lib [glob *.so] {48 foreach lib [glob ${worksrcpath}/*.so] { 47 49 xinstall -m 0644 ${lib} ${destroot}${prefix}/lib/lua/5.1 48 50 } 49 51 }