Ignore:
Timestamp:
Feb 8, 2004, 1:24:57 PM (16 years ago)
Author:
mww
Message:

prefer xinstall over file copy/mkdir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-ssh/Portfile

    r4737 r5325  
    1 # $Id: Portfile,v 1.2 2004/01/16 02:08:43 mww Exp $
     1# $Id: Portfile,v 1.3 2004/02/08 13:24:56 mww Exp $
    22
    33PortSystem 1.0
     
    3333
    3434post-destroot   {
    35         file mkdir ${destroot}${prefix}/share/doc/${name}
    36         file copy ${worksrcpath}/README.txt ${worksrcpath}/license.txt \
     35        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     36        xinstall -m 644 -W ${worksrcpath} README.txt license.txt \
    3737                ${destroot}${prefix}/share/doc/${name}
    3838}
Note: See TracChangeset for help on using the changeset viewer.