Changeset 4370


Ignore:
Timestamp:
Dec 30, 2003, 10:13:54 AM (16 years ago)
Author:
jkh
Message:

Use xinstall procedure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/archivers/unrar/Portfile

    r3179 r4370  
    1717
    1818post-patch {
    19         system "cp -f ${worksrcpath}/makefile.unix ${worksrcpath}/Makefile"
     19        xinstall ${worksrcpath}/makefile.unix ${worksrcpath}/Makefile
    2020}
    2121
     
    2424
    2525destroot {
    26         file mkdir ${destroot}/${prefix}/bin
    27         file mkdir ${destroot}/${prefix}/share/doc/${name}
    28         system "install ${worksrcpath}/${name} \
    29                 ${destroot}/${prefix}/bin/${name}"
    30         system "install ${worksrcpath}/license.txt \
    31                 ${destroot}/${prefix}/share/doc/${name}"
    32         system "install ${worksrcpath}/readme.txt \
    33                 ${destroot}/${prefix}/share/doc/${name}"
     26        xinstall ${worksrcpath}/${name} ${destroot}/${prefix}/bin
     27        xinstall -d ${destroot}/${prefix}/share/doc/${name}
     28        xinstall ${worksrcpath}/license.txt ${worksrcpath}/readme.txt ${destroot}/${prefix}/share/doc/${name}
    3429}
    3530
Note: See TracChangeset for help on using the changeset viewer.