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

    r4071 r5325  
    1 # $Id: Portfile,v 1.1 2003/11/27 20:25:46 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:24:54 mww Exp $
    22
    33PortSystem 1.0
     
    3434
    3535post-destroot   {
    36         file mkdir ${destroot}${prefix}/share/doc/
    37         file copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}
    38         file copy ${worksrcpath}/ACKS ${worksrcpath}/ChangeLog \
    39                 ${worksrcpath}/LICENSE ${worksrcpath}/MANIFEST \
    40                 ${worksrcpath}/PKG-INFO ${worksrcpath}/README \
    41                 ${worksrcpath}/TODO ${destroot}${prefix}/share/doc/${name}
     36        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     37        xinstall -m 644 -W ${worksrcpath} ACKS ChangeLog LICENSE README TODO \
     38                ${destroot}${prefix}/share/doc/${name}
    4239}
Note: See TracChangeset for help on using the changeset viewer.