Ticket #16337: frotz-destroot.diff

File frotz-destroot.diff, 399 bytes (added by ryandesign (Ryan Carsten Schmidt), 16 years ago)
  • Portfile

     
    2222                "${worksrcpath}/Makefile"
    2323}
    2424
    25 destroot {
    26         reinplace "s|^PREFIX = ${prefix}|PREFIX = ${destroot}${prefix}|" \
    27                 "${worksrcpath}/Makefile"
    28         system "cd ${worksrcpath} && make install"
    29 }
     25destroot.destdir  PREFIX=${destroot}${prefix}