Ticket #21979: lua-luaexpat.patch
File lua-luaexpat.patch, 1.2 KB (added by ddanese@…, 15 years ago) |
---|
-
Portfile
old new build.target 23 23 destroot { 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 libraries 37 37 xinstall -m 755 -d ${destroot}${prefix}/share/lua/5.1/lxp 38 foreach luadat [glob src/lxp/*.lua] {38 foreach luadat [glob ${worksrcpath}/src/lxp/*.lua] { 39 39 xinstall -m 0644 ${luadat} ${destroot}${prefix}/share/lua/5.1/lxp 40 40 } 41 41 42 42 # Lua includes 43 43 xinstall -m 755 -d ${destroot}${prefix}/include/lua5.1 44 foreach inc [glob src/*.h] {44 foreach inc [glob ${worksrcpath}/src/*.h] { 45 45 xinstall -m 0644 ${inc} ${destroot}${prefix}/include/lua5.1 46 46 } 47 47 }