Ticket #21978: lua-luazip.patch
File lua-luazip.patch, 938 bytes (added by ddanese@…, 15 years ago) |
---|
-
Portfile
old new destroot { 23 23 # Docs 24 24 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 25 25 file copy ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name} 26 foreach doc [glob doc/us/*] {26 foreach doc [glob ${worksrcpath}/doc/us/*] { 27 27 xinstall -m 0644 ${doc} ${destroot}${prefix}/share/doc/${name} 28 28 } 29 29 30 30 # Binaries 31 31 xinstall -m 755 -d ${destroot}${prefix}/lib/lua/5.1 32 foreach lib [glob src/*.so.*] {32 foreach lib [glob ${worksrcpath}/src/*.so.*] { 33 33 xinstall -m 0644 ${lib} ${destroot}${prefix}/lib/lua/5.1 34 34 } 35 35 36 36 # Lua includes 37 37 xinstall -m 755 -d ${destroot}${prefix}/include/lua5.1 38 foreach inc [glob src/*.h] {38 foreach inc [glob ${worksrcpath}/src/*.h] { 39 39 xinstall -m 0644 ${inc} ${destroot}${prefix}/include/lua5.1 40 40 } 41 41 }