Ticket #17287: arc-cd.diff

File arc-cd.diff, 818 bytes (added by nox@…, 16 years ago)
  • Portfile

     
    2929build.args        "OPT=\"${CFLAGS}\""
    3030
    3131destroot {
    32         cd ${worksrcpath}
     32        xinstall -W ${worksrcpath} ${name} m${name} ${destroot}${prefix}/bin
     33        xinstall -W ${worksrcpath} -m 444 ${name}.1 ${destroot}${prefix}/share/man/man1
    3334
    34         xinstall ${name} m${name} ${destroot}${prefix}/bin
    35         xinstall -m 0444 ${name}.1 ${destroot}${prefix}/share/man/man1
    36 
    3735        set docdir ${prefix}/share/doc/${name}-${version}
    3836        xinstall -d ${destroot}${docdir}
    39         xinstall -m 0644 Arc[strsed ${version} {g/[^0-9]//}].doc Arcinfo COPYING LICENSE \
     37        xinstall -W ${worksrcpath} -m 644 Arc[strsed ${version} {g/[^0-9]//}].doc Arcinfo COPYING LICENSE \
    4038                ${destroot}${docdir}
    4139}
    4240