Ticket #21978: lua-luazip.patch

File lua-luazip.patch, 938 bytes (added by ddanese@…, 15 years ago)
  • Portfile

    old new destroot { 
    2323    # Docs
    2424    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    2525    file copy ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
    26     foreach doc [glob doc/us/*] {
     26    foreach doc [glob ${worksrcpath}/doc/us/*] {
    2727        xinstall -m 0644 ${doc} ${destroot}${prefix}/share/doc/${name}
    2828    }
    2929   
    3030    # Binaries
    3131    xinstall -m 755 -d ${destroot}${prefix}/lib/lua/5.1
    32     foreach lib [glob src/*.so.*] {
     32    foreach lib [glob ${worksrcpath}/src/*.so.*] {
    3333        xinstall -m 0644 ${lib} ${destroot}${prefix}/lib/lua/5.1
    3434    }
    3535
    3636    # Lua includes
    3737    xinstall -m 755 -d ${destroot}${prefix}/include/lua5.1
    38     foreach inc [glob src/*.h] {
     38    foreach inc [glob ${worksrcpath}/src/*.h] {
    3939        xinstall -m 0644 ${inc} ${destroot}${prefix}/include/lua5.1
    4040    }
    4141}