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

    r4582 r5325  
    1 # $Id: Portfile,v 1.1 2004/01/11 22:10:35 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:24:57 mww Exp $
    22
    33PortSystem 1.0
     
    3333
    3434post-destroot   {
    35         file mkdir ${destroot}${prefix}/share/doc/${name}/examples
    36         file copy ${worksrcpath}/COPYING ${worksrcpath}/ChangeLog \
    37                 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
    38         file copy ${worksrcpath}/Example \
     35        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
     36        xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog README \
     37                ${destroot}${prefix}/share/doc/${name}
     38        xinstall -m 644 ${worksrcpath}/Example \
    3939                ${destroot}${prefix}/share/doc/${name}/examples/example.py
    4040}
Note: See TracChangeset for help on using the changeset viewer.