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

prefer xinstall over file copy/mkdir

File:
1 edited

Legend:

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

    r5088 r5325  
    1 # $Id: Portfile,v 1.5 2004/01/29 22:25:06 mww Exp $
     1# $Id: Portfile,v 1.6 2004/02/08 13:24:57 mww Exp $
    22
    33PortSystem 1.0
     
    3737
    3838pre-destroot    {
    39         file mkdir ${destroot}${prefix}/share/doc/${name}
    40         file copy ${worksrcpath}/CHANGELOG ${worksrcpath}/COPYRIGHT \
    41                 ${worksrcpath}/KNOWN_BUGS ${worksrcpath}/MAINTAINERS \
    42                 ${worksrcpath}/README ${worksrcpath}/TODO \
    43                 ${worksrcpath}/VERSION ${destroot}${prefix}/share/doc/${name}
     39        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     40        xinstall -m 644 -W ${worksrcpath} CHANGELOG COPYRIGHT KNOWN_BUGS \
     41                MAINTAINERS README TODO VERSION \
     42                ${destroot}${prefix}/share/doc/${name}
    4443}
    4544
Note: See TracChangeset for help on using the changeset viewer.