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-cheetah/Portfile

    r4263 r5325  
    1 # $Id: Portfile,v 1.1 2003/12/21 20:27:05 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:24:56 mww Exp $
    22
    33PortSystem 1.0
     
    3232
    3333post-destroot   {
    34         file mkdir ${destroot}${prefix}/share/doc/${name}
    35         file copy ${worksrcpath}/CHANGES ${worksrcpath}/LICENSE \
    36                 ${worksrcpath}/PKG-INFO ${worksrcpath}/README \
    37                 ${worksrcpath}/TODO ${destroot}${prefix}/share/doc/${name}
     34        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     35        xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README TODO \
     36                ${destroot}${prefix}/share/doc/${name}
    3837}
Note: See TracChangeset for help on using the changeset viewer.