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

    r4274 r5325  
    1 # $Id: Portfile,v 1.1 2003/12/22 19:50:29 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:24:55 mww Exp $
    22
    33PortSystem 1.0
     
    3131
    3232post-destroot   {
    33         file mkdir ${destroot}${prefix}/share/doc/${name}
    34         file copy ${worksrcpath}/PKG-INFO ${worksrcpath}/pep-0754.txt \
    35                 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
     33        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     34        xinstall -m 644 -W ${worksrcpath} pep-0754.txt README \
     35                ${destroot}${prefix}/share/doc/${name}
    3636}
Note: See TracChangeset for help on using the changeset viewer.